2948 Commits

Author SHA1 Message Date
blueloveTH
a048bf385d update README.md 2024-06-15 14:30:29 +08:00
blueloveTH
e239c216b7 Merge branch 'v2.0-c11' into v2.0 2024-06-15 14:22:04 +08:00
blueloveTH
597abacc58 some fix 2024-06-15 14:20:21 +08:00
blueloveTH
3bd794f2fb some fix 2024-06-15 13:39:32 +08:00
blueloveTH
2d0db3dc71 add lower_bound 2024-06-15 13:34:47 +08:00
blueloveTH
eae3c69f85 backup 2024-06-15 11:56:04 +08:00
blueloveTH
e7e8b9141e Update CMakeLists.txt 2024-06-14 19:08:53 +08:00
BLUELOVETH
444434efb6
Merge pull request #271 from szdytom/make-dict-c11
Make `Dict` and `DictIter` c11
2024-06-14 14:53:10 +08:00
blueloveTH
0770c97f60 add benchmark for dict 2024-06-14 14:01:25 +08:00
blueloveTH
b236031554 add benchmark 2024-06-14 13:57:12 +08:00
blueloveTH
00a5b4d5d3 Merge branch 'v2.0-c11' into pr/271 2024-06-14 13:38:40 +08:00
33b110589d add test for dict larger than 65536 2024-06-14 13:35:32 +08:00
6649a5b987 never shrink 2024-06-14 13:13:24 +08:00
5e38f7debd remove asserts with side effect 2024-06-14 12:36:47 +08:00
6220ab029b stop using unsigned for indecies 2024-06-14 12:35:31 +08:00
681b9d7dd0 fix...and remove assert with side effect 2024-06-14 12:30:24 +08:00
7549f1b95a better dict clear 2024-06-14 12:28:55 +08:00
a8ca70ca74 more replace 2024-06-14 12:24:22 +08:00
d1763bdef1 replace reinterpret_cast with C-style cast 2024-06-14 12:21:20 +08:00
6d938d30bf make hash functions macros 2024-06-14 12:19:16 +08:00
784980af93 add marco PK_DICT_COMPACT_MODE 2024-06-14 12:09:46 +08:00
a47b52f086 optimize hashtable access 2024-06-14 12:04:39 +08:00
ed2e95b3f4 fix overflow 2024-06-14 11:10:08 +08:00
9390b0d638 use marcos to control load factor 2024-06-14 11:08:34 +08:00
21fdaeaa21 fix dict compare 2024-06-14 11:06:39 +08:00
6e780173f9 remove _version 2024-06-14 09:32:58 +08:00
3d90bd0392 change cmake back 2024-06-14 00:27:03 +01:00
d25afcaeae remove hash from entry 2024-06-14 00:27:03 +01:00
637aedabc5 Use 4 byte hash only 2024-06-14 00:27:03 +01:00
c047eafa7e optimize probe0 for less __eq__ and hash compare 2024-06-14 00:27:03 +01:00
5e6226729a skip nullptr in probe1 2024-06-14 00:27:03 +01:00
41562cf4c3 fix find and insert 2024-06-14 00:27:03 +01:00
f28b2f152e Fix 2024-06-14 00:27:03 +01:00
8458e49a30 Minimum deleted slot required to refactor 2024-06-14 00:27:03 +01:00
blueloveTH
3d72ca0cc6 remove any 2024-06-13 21:37:33 +08:00
blueloveTH
6167cb4a43 add PK_INLINE 2024-06-13 20:13:20 +08:00
b2d5708fd8 fix 2024-06-13 17:03:16 +08:00
e455e36a39 fix iteration and count 2024-06-13 16:44:41 +08:00
73c9c5a228 fix RE 2024-06-13 16:26:06 +08:00
f4e9293643 ... 2024-06-13 08:50:10 +01:00
249656039a fix uninitialize 2024-06-13 08:50:10 +01:00
d871d91adb Impl Dict and DictIter in c11 2024-06-13 08:50:10 +01:00
blueloveTH
59537c9bd0 fix msvc 2024-06-13 14:58:23 +08:00
blueloveTH
ead9d93f5b fix msvc 2024-06-13 14:48:37 +08:00
blueloveTH
9b72ae7223 fix msvc 2024-06-13 14:41:46 +08:00
blueloveTH
ca4ebf4ba7 some fix 2024-06-13 14:40:04 +08:00
blueloveTH
e1c706b08f some fix 2024-06-13 14:26:51 +08:00
blueloveTH
deec5edff9 some fix 2024-06-13 14:20:51 +08:00
blueloveTH
f0d82a19ee complete sstream 2024-06-13 13:22:29 +08:00
blueloveTH
0811f23b71 some more move 2024-06-13 13:08:19 +08:00