Manifest of check-in
[a13d68cbee]
- Begin redesign where we move the handling of hash collisions to the
hamt as a whole instead of requiring every KVList to be able to grow
to arbitrary size. This should permit significant simplification of
the KVList. It reflects the reality that with 64-bit hashes and any
reasonable hash function, a hash collision is not merely uncommon but
so rare as to be very nearly an impossibility. We should shift any
performance burden onto the impossible cases and off the routine ones.
by
dgp on
2017-10-10 14:26:12.
B 206a729f350cdf689ba89dee6b483837542c96ccf0ff07e8c8112f50d201033a
C Begin\sredesign\swhere\swe\smove\sthe\shandling\sof\shash\scollisions\sto\sthe\nhamt\sas\sa\swhole\sinstead\sof\srequiring\severy\sKVList\sto\sbe\sable\sto\sgrow\nto\sarbitrary\ssize.\s\sThis\sshould\spermit\ssignificant\ssimplification\sof\nthe\sKVList.\s\sIt\sreflects\sthe\sreality\sthat\swith\s64-bit\shashes\sand\sany\nreasonable\shash\sfunction,\sa\shash\scollision\sis\snot\smerely\suncommon\sbut\nso\srare\sas\sto\sbe\svery\snearly\san\simpossibility.\s\sWe\sshould\sshift\sany\nperformance\sburden\sonto\sthe\simpossible\scases\sand\soff\sthe\sroutine\sones.
D 2017-10-10T14:26:12.649
F generic/tclBasic.c 5f9e303bbf5151f3c6685d3ac4c8d62d1b6f82fe42494a7e8be0f275ce988c72
F generic/tclHAMT.c 1ea7230e91ae4a67ab3ab1704350faaf5c79782345ea18385b5b555e85a9a80e
F generic/tclHAMT.h 6bcc6c16c1e85fa37b8496d33e08a96eb7b236dc72def9519c1769992c287060
F generic/tclHAMTObj.c b5de5fba97e32bdf4488f99597e48b8c03d7e1cf7550e1272741aa93a4a6db7f
F generic/tclInt.h 7912669c23c8a615b004521bcb3c48449dd80fc08d03bacd9a0131c120f44616
F libtommath/bn_mp_div_d.c 1a1ac7f5c1ae7c63f5d28d298eff0634976d1dacdb1f14936a744f130c7a6b1f
F libtommath/tommath.h b579cfe66c80d1d2b8a10dce7bbaa2bb5925ecf9ad77349a8af243d96cc8b469
F unix/Makefile.in 298c2f463a09bec558d297697aa7ebbb1b55684b59b16dd3794981e489f911c6
F win/tclWinLoad.c b05e9650f06545d934eb911ea04a0e26d32ce8aafae82a1924fcd4441f3a0cbc
P b6e0357c0c0112a415edafa2b1836d5a1aa6051cc1b1510e8ac948930d296ff8
R aa9f1adb2200869f3b69dfac9c6de8c2
T *branch * dgp-hamt-collision
T *sym-dgp-hamt-collision *
T -sym-dgp-refactor *
U dgp
Z 3ace726107a68299074ca52a6609c73e