Mercurial > cpython-lru_cache-weakref
diff Python/traceback.c @ 34622:516bb8fd75b4 legacy-trunk
Teach the peepholer to fold unary operations on constants.
Afterwards, -0.5 loads in a single step and no longer requires a runtime
UNARY_NEGATIVE operation.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Sun, 20 Feb 2005 12:41:32 +0000 |
| parents | 49ec0d8f08ec |
| children | accfb156f9cc 1c4d192f1568 |
