diff options
author | Raymond Hettinger <python@rcn.com> | 2005-02-20 12:41:32 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2005-02-20 12:41:32 +0000 |
commit | c8cde1d9dbf3a308b7de3ed5447675e2898321e9 (patch) | |
tree | 010ee6d155c8d20debf042617c4b37d57028c7f6 /Lib/test/test_peepholer.py | |
parent | 8f7b6d500bf414339855903993ec4bf0a9f5e872 (diff) | |
download | cpython-c8cde1d9dbf3a308b7de3ed5447675e2898321e9.tar.gz |
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.
Diffstat (limited to 'Lib/test/test_peepholer.py')
0 files changed, 0 insertions, 0 deletions