[issue29410] Moving to SipHash-1-3

Serhiy Storchaka report at bugs.python.org
Wed Feb 1 05:07:26 EST 2017


Serhiy Storchaka added the comment:

The performance of hash algorithm shouldn't affect general benchmarks since hash value is cached inside string object. Almost all dict lookups in critical parts are lookups with interned strings. But in corner cases the difference can be measurable. We should look not on results of macrobenchmarks, but find worst cases.

There is also an alignment issue with the implementation of SipHash-2-4 (and I suppose with SipHash-1-3). See issue28055.

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list