Mercurial > cpython-lru_cache-weakref
diff Python/getopt.c @ 28406:733729261c41 legacy-trunk
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".
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Wed, 26 Mar 2003 01:07:54 +0000 |
| parents | a826a46bae54 |
| children | 2f3f2e32dfd9 |
