Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port CPython3.7 dictionary for numba internal use #3715

Merged
merged 48 commits into from
Feb 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
aa2eea4
Copy dictobject.c from cpython3.7
sklam Jan 10, 2019
a5df943
Copy dict-common.h as _dictobject.h from cpython3.7
sklam Jan 10, 2019
4bccd4d
Start to adapt the dict impl
sklam Jan 10, 2019
7e461b0
Insertion seems to be working
sklam Jan 11, 2019
1185967
Dict insert and lookup seems to work
sklam Jan 11, 2019
cfce064
Save my temporary test
sklam Jan 11, 2019
6ef723a
Dict deletion is working
sklam Jan 11, 2019
2ce08e9
Key value iteration works
sklam Jan 11, 2019
1e35cea
Remove unneeded code
sklam Jan 18, 2019
9a8383a
Clean up C warning
sklam Jan 21, 2019
cb736b4
Adapt
sklam Jan 21, 2019
2409878
Adapt
sklam Jan 21, 2019
cc5320d
Rewrite in C
sklam Jan 25, 2019
25181a8
Split dictionary and hashtable structs
sklam Jan 25, 2019
e154bc3
Dict insertion fully working
sklam Jan 25, 2019
0db03f4
Delete is working
sklam Jan 25, 2019
658c818
Clean up old code
sklam Jan 28, 2019
b80431d
More clean up
sklam Jan 28, 2019
8dd4ecd
Begin writing tests
sklam Jan 28, 2019
7b5d70b
Add more tests
sklam Jan 28, 2019
b018fab
Fix a bug in resize
sklam Jan 28, 2019
b725407
More tests
sklam Jan 28, 2019
7fa45d8
Add support for dict iteration
sklam Jan 28, 2019
0f6f029
Check alignment of key and value
sklam Jan 28, 2019
4bcf808
Clean up
sklam Jan 28, 2019
f7f1512
More clean up
sklam Jan 29, 2019
f3ba6cc
Minimize diff against original cpython impl
sklam Jan 29, 2019
98fd430
Fix compiler error
sklam Jan 30, 2019
558bc4b
Fix iterator interface for py2
sklam Jan 31, 2019
0fb1dfa
Add back deleted line
sklam Jan 31, 2019
99d001b
Avoid over-allocation of dict entries.
sklam Feb 1, 2019
361c551
Add missing deallocation
sklam Feb 1, 2019
34cfb33
Add comments
sklam Feb 1, 2019
7d00765
Fix spelling and pep8
sklam Feb 1, 2019
81d5d03
Hide debug only function
sklam Feb 1, 2019
b868dda
Fixes for MSVC
sklam Feb 4, 2019
0c7e9a2
Add dict popitem support
sklam Feb 5, 2019
2b6d301
Fix alignment on win64 py27
sklam Feb 7, 2019
ddcebe5
Adjust for vs2008
sklam Feb 7, 2019
13dfb57
Adjust for VS2008
sklam Feb 7, 2019
350db2a
Apply suggestions from code review
sklam Feb 8, 2019
d2b69bc
Apply suggestions from code review
stuartarchibald Feb 11, 2019
7e4a9e6
Drop palign on malloc'ed memory
sklam Feb 11, 2019
f19c4a3
Rename argument as suggested in code review
sklam Feb 11, 2019
e80d7e9
Expand C test
sklam Feb 11, 2019
3cedbc5
Apply code review suggestion
sklam Feb 11, 2019
00c0761
Rename align->aligned_size; palign->aligned_pointer
sklam Feb 11, 2019
396b9c0
Fix VS2008
sklam Feb 19, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view