[issue25106] Hash computation speedup for {buffer, string, unicode}object
STINNER Victor
report at bugs.python.org
Mon Sep 14 10:23:20 CEST 2015
STINNER Victor added the comment:
> Python 2.7 is closed for adding new features. Python 3.4+ uses different code for calculating hashes.
The code doesn't modify the hash function. It's a common loop unroll optimization technique.
Since the optimization can be seen on real world benchmark, I think that it's worth to take this optimization.
----------
nosy: +haypo
type: enhancement -> performance
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25106>
_______________________________________
More information about the Python-bugs-list
mailing list