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 rhettinger
Recipients _doublep, jackdied, pitrou, rhettinger
Date 2008-11-16.12:51:46
SpamBayes Score 0.00205886
Marked as misclassified No
Message-id <1226839909.31.0.913319286192.issue2260@psf.upfronthosting.co.za>
In-reply-to
Content
This looks fine to me.  Go ahead and uncomment the memcpy() line (I
presume you commented it out in order to demonstrate the basic
transformation without the dead code elimination).  Be sure to add a
testcase.

Antoine, the issue with JUMP_IF variants is that they interfere with
other existing byte code optimizations, resulting in a net loss.

BTW, don't expect much of a real-world speed-up from this patch.  The
JUMP_ABSOLUTE opcode is very fast.
History
Date User Action Args
2008-11-16 12:51:49rhettingersetrecipients: + rhettinger, pitrou, jackdied, _doublep
2008-11-16 12:51:49rhettingersetmessageid: <1226839909.31.0.913319286192.issue2260@psf.upfronthosting.co.za>
2008-11-16 12:51:48rhettingerlinkissue2260 messages
2008-11-16 12:51:46rhettingercreate