[issue25823] Speed-up oparg decoding on little-endian machines
Mark Dickinson
report at bugs.python.org
Wed Dec 9 05:11:52 EST 2015
Mark Dickinson added the comment:
> I think following patch doesn't introduce undefined behavior.
Agreed. As I recall, the memcpy trick is a fairly standard way around this issue, for compilers that are smart enough to compile away the actual memcpy call.
> I don't know wherever the patch can cause performance regression on other platforms or compilers.
Me neither.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25823>
_______________________________________
More information about the Python-bugs-list
mailing list