[issue8188] Unified hash for numeric types.

Mark Dickinson report at bugs.python.org
Sat Mar 20 23:45:58 CET 2010


Mark Dickinson <dickinsm at gmail.com> added the comment:

No, I mean 61.  2**61 - 1 is prime;  2**63-1 is not.  (So 2 bits of the hash get wasted, but that's not a big deal, especially since they're the high-end bits and Python mostly cares about the lower-order bits.)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8188>
_______________________________________


More information about the Python-bugs-list mailing list