This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author collinwinter
Recipients collinwinter, jyasskin, pitrou
Date 2009-01-13.23:20:11
SpamBayes Score 0.032789662
Marked as misclassified No
Message-id <1231888813.58.0.227500613556.issue4715@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-01-13 23:20:13collinwintersetrecipients: + collinwinter, pitrou, jyasskin
2009-01-13 23:20:13collinwintersetmessageid: <1231888813.58.0.227500613556.issue4715@psf.upfronthosting.co.za>
2009-01-13 23:20:12collinwinterlinkissue4715 messages
2009-01-13 23:20:11collinwintercreate