Stefan Krah added the comment: On Thu, Aug 11, 2016 at 09:29:44AM +0000, REIX Tony wrote: > -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 .
I doubt that you'll see any measurable performance difference. The main inefficiencies in Python aren't that low-level: They are in the interpreter loop. > Hummm I'll use -qalias=noansi with XLC and see what happens. Yes, and also use -fwrapv or similar. Otherwise you might get other issues that are hard to track down. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27725> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com