SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 136 Python

SF patch #707257: Improve code generation

Adds a single function to improve generated bytecode.  Has a single line
attachment point, so it is completely de-coupled from both the compiler
and ceval.c.

Makes three simple transforms that do not require a basic block analysis
or re-ordering of code.  Gives improved timings on pystone, pybench,
and any code using either "while 1" or "x,y=y,x".
R
Raymond Hettinger committed
f6f575ae6fc4b58f8735b6aebaa422d48bedcef4
Parent: 590fe02