[issue25106] Hash computation speedup for {buffer, string, unicode}object

Alecsandru Patrascu report at bugs.python.org
Mon Sep 14 19:25:48 CEST 2015


Alecsandru Patrascu added the comment:

This patch is not applicable to Python 3, as it already has a better hash function and has the same unrolling technique applied. 

As Brett well observed, it is a backport of an optimization technique used in Python 3, applied to the existing hash function in 2.7.

----------

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


More information about the Python-bugs-list mailing list