commit | f6f575ae6fc4b58f8735b6aebaa422d48bedcef4 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Wed Mar 26 01:07:54 2003 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Wed Mar 26 01:07:54 2003 +0000 |
tree | ebbdb1739641b823f80570b2806dace3adc7db9c | |
parent | 590fe02ebdc2ec11347441ae31e71d2d6cd52ad3 [diff] |
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".