3217 Commits

Author SHA1 Message Date
blueloveTH
a5cf3aa426 leak some names in global 2024-06-16 01:21:12 +08:00
blueloveTH
e7fe38cdf7 Update smallmap.h 2024-06-16 00:50:00 +08:00
blueloveTH
72215f1a05 Update smallmap.h 2024-06-16 00:46:03 +08:00
blueloveTH
563ae74a19 some optimize 2024-06-16 00:21:53 +08:00
blueloveTH
e765e9f9bd fix msvc 2024-06-15 23:54:10 +08:00
blueloveTH
4d66290529 move namedict 2024-06-15 23:52:48 +08:00
blueloveTH
e299564b9c remove NameDict_ 2024-06-15 23:31:45 +08:00
blueloveTH
a8db1cc5e1 more move 2024-06-15 23:22:06 +08:00
blueloveTH
c4bb16e390 some fix 2024-06-15 21:41:59 +08:00
blueloveTH
225f634f33 some fix 2024-06-15 21:02:06 +08:00
blueloveTH
59afaf8263 some fix 2024-06-15 20:19:01 +08:00
blueloveTH
0e25f34135 some fix 2024-06-15 19:55:06 +08:00
blueloveTH
0ffacbbbe8 some fix 2024-06-15 19:24:58 +08:00
blueloveTH
e50761364d some fix 2024-06-15 19:17:57 +08:00
blueloveTH
2093f6f10f add smallmap 2024-06-15 19:14:15 +08:00
blueloveTH
649fb3cd98 some fix 2024-06-15 17:56:36 +08:00
blueloveTH
c98eb31a5e fix lower_bound 2024-06-15 17:20:51 +08:00
blueloveTH
baa75999b6 fix CI 2024-06-15 16:27:06 +08:00
blueloveTH
5e5548809a move memorypool 2024-06-15 16:21:32 +08:00
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