A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-January/115715.html below:

[Python-Dev] Counting collisions for the win

[Python-Dev] Counting collisions for the win [Python-Dev] Counting collisions for the winFrank Sievertsen frank at sievertsen.de
Fri Jan 20 13:12:57 CET 2012
No, that's not true.
Whenever a collision happens, other bits are mixed in very fast.

Frank

Am 20.01.2012 13:08, schrieb Victor Stinner:
>> I'm surprised we haven't seen bug reports about it from users
>> of 64-bit Pythons long ago
> A Python dictionary only uses the lower bits of a hash value. If your
> dictionary has less than 2**32 items, the dictionary order is exactly
> the same on 32 and 64 bits system: hash32(str)&  mask == hash64(str)&
> mask for mask<= 2**32-1.
> _________________________

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4