[issue14621] Hash function is not randomized properly
Serhiy Storchaka
report at bugs.python.org
Wed Nov 7 07:49:21 CET 2012
Serhiy Storchaka added the comment:
% ./python -m timeit -r20 -n1000000 -s "h = hash; x = 'a' * 10**7" -- "h(x)"
Here is only one hash calculation and 999999 cached calls.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14621>
_______________________________________
More information about the Python-bugs-list
mailing list