Mercurial > cpython-lru_cache-weakref
comparison Python/thread_foobar.h @ 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 | 8b116a8449bd |
| children | e38335d4df91 df5719c298db |
comparison
equal
deleted
inserted
replaced
| 28405:b09db0b96a76 | 28406:733729261c41 |
|---|
