[issue5186] Reduce hash collisions for objects with no __hash__ method

Mark Dickinson report at bugs.python.org
Wed Feb 11 22:18:50 CET 2009


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

I'm fine with rotating 4 bits instead of 3, especially if the timings look 
good on 32-bit as well as 64-bit.

We should really benchmark dict lookups (and set membership tests) as well 
as dict creation.

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


More information about the Python-bugs-list mailing list