Collin Winter <[email protected]> added the comment:
I've backported condbranches-plus.patch to trunk, and I'm getting these
results:
PyBench: 1.84-2.21% faster
2to3: 3.83% faster
Spitfire: 6.13-6.23% faster
PyBench was run with -w=1; 2to3 is translating its entire source
directory five times; Spitfire is measured by the "Spitfire -O4" line
from tests/perf/bigtable.py, run 15 times. This is on a Core 2 system.
My AMD system (otherwise identical) shows somewhat less improvement,
but still an improvement.
I've haven't tested condbranches.patch vs condbranches-plus.patch; what
difference are you seeing, Antoine?
I like these changes. Folding POP into JUMP_IF_{TRUE,FALSE} should have
been done years ago (I think I proposed it and Raymond shot me down).
I'm also in favor of making POP_JUMP_IF_* absolute jumps.
This patch mostly looks good, though you still need to change Doc/
library/dis.rst and the pure-Python compiler package. I'd get someone
else to look over the patch, too, though.
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue4715>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com