35 Commits

Author SHA1 Message Date
blueloveTH
a048bf385d update README.md 2024-06-15 14:30:29 +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
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
6e780173f9 remove _version 2024-06-14 09:32:58 +08: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
b2d5708fd8 fix 2024-06-13 17:03:16 +08:00
e455e36a39 fix iteration and count 2024-06-13 16:44:41 +08: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
031f189a4a
Make SourceData and SStream c11 (#266)
* Make SourceData c11

* make it compile

* add a marco

* follow up rename of c11_vetor__push

* remove isascii marco

* fix empty function name handling

* change enum back

* Remove trival accessor

* make pkpy_Str__take_buf hidden

* make it compile

* remove rcptr and use shared_ptr instead

* change enum name in C++ code back

* fix type problem

* remove strdup polyfill

* remove xmake

* ...
2024-06-11 20:28:51 +08:00
blueloveTH
ec366c15c6 some refactor 2024-06-09 21:42:06 +08:00
blueloveTH
4b687d36ff some fix 2024-06-09 21:26:54 +08:00
blueloveTH
6c055b91b9 fix output format 2024-06-09 19:11:54 +08:00
blueloveTH
bfaf1f3689 some fix about <stdexcept> 2024-06-09 17:55:42 +08:00
blueloveTH
81c4853f04 use error code 2024-06-09 01:39:05 +08:00
blueloveTH
8b2b8ab83a some split 2024-06-07 00:53:18 +08:00
blueloveTH
be3d4ffaf9 remove stack<> 2024-06-04 23:19:07 +08:00
ykiko
1c82060daf
Format the world. (#259)
* add some clang-format offs.

* add formats.

* format the world.

* AllowShortIfStatementsOnASingleLine

* off REGION.

* Rollback vm.hpp

* Disable insert.
2024-06-04 22:55:17 +08:00
blueloveTH
10842207ea some fix 2024-06-02 17:09:42 +08:00
blueloveTH
2dfb6ed07a major refactor 2024-06-02 16:53:51 +08:00