[issue27725] Use Py_SIZE(x) instead of x->ob_size

REIX Tony report at bugs.python.org
Thu Aug 11 05:29:43 EDT 2016


REIX Tony added the comment:

Thanks a lot Stefan, that should completely explain my issues.

-fno-strict-aliasing -fwrapv for gcc

So, that means that you would get better performance if you applied on Python v2.7 what Python v3.5 did about Py_SIZE(x) .
However, there are probably other places where the aliasing issue still appears in v2.7 .

Hummm I'll use -qalias=noansi with XLC and see what happens.

----------

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


More information about the Python-bugs-list mailing list