Message75935
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. |
|
Date |
User |
Action |
Args |
2008-11-16 12:51:49 | rhettinger | set | recipients:
+ rhettinger, pitrou, jackdied, _doublep |
2008-11-16 12:51:49 | rhettinger | set | messageid: <1226839909.31.0.913319286192.issue2260@psf.upfronthosting.co.za> |
2008-11-16 12:51:48 | rhettinger | link | issue2260 messages |
2008-11-16 12:51:46 | rhettinger | create | |
|