[issue16427] Faster hash implementation

Charles-François Natali report at bugs.python.org
Tue Apr 9 15:42:57 CEST 2013


Charles-François Natali added the comment:

Note that the patch uses type punning through a union: while GCC allows this, it's not allowed by ANSI (although since we're using a char [], it's somewhat a grey area). An aggresive compiler could optimiza the read/write away.

----------
nosy: +neologix

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


More information about the Python-bugs-list mailing list