[issue34751] Hash collisions for tuples
Jeroen Demeyer
report at bugs.python.org
Tue Sep 25 06:00:12 EDT 2018
Jeroen Demeyer <J.Demeyer at UGent.be> added the comment:
> I want to leave low-order hash bits alone. That's deliberate.
Since I didn't understand the rationale for this and since shifting << 1 also seems to work well, I edited PR 9471 to use DJBX33A with t ^= t << 1.
Since you insisted on adding 97531 at the end, I put that back.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34751>
_______________________________________
More information about the Python-bugs-list
mailing list