2 ms·
Contemporary versions of Python (≥ 3.4) use SipHash for hashing strings: https://lwn.net/Articles/574761/ https://lwn.net/Articles/574761/ OTOH, the function
by jwilk 9y ago
Contemporary versions of Python (≥ 3.4) use SipHash for hashing strings:
https://lwn.net/Articles/574761/ https://lwn.net/Articles/574761/
OTOH, the function for hashing integers in extremely simple:
>>> hash(42)
42