2 ms·
> For string keys, hash only the first and last 2 characters. For list keys, only hash the first 4 elements. I would think it make some sense to change these c
by vlovich123 1y ago
> For string keys, hash only the first and last 2 characters.
For list keys, only hash the first 4 elements.
I would think it make some sense to change these constants as the collision chain grows, thereby improving the hash quality of keys and avoiding collisions as the table gets larger and larger
- BoingBoomTschak 1y ago> If too many collisions, double the limit.