[issue34751] Hash collisions for tuples

Jeroen Demeyer report at bugs.python.org
Tue Sep 25 09:15:34 EDT 2018


Jeroen Demeyer <J.Demeyer at UGent.be> added the comment:

Regarding t ^= t << 7: I tested PR 9471 with all shift values from 1 to 20. The new testsuite passed for all shifts from 1 to 13, except for 6. It failed for 6 and for 14 to 20. This indicates that smaller shift values are better (even when looking at 32-bit outputs).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34751>
_______________________________________


More information about the Python-bugs-list mailing list