summaryrefslogtreecommitdiff
path: root/Lib/test/test_peepholer.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2005-02-20 12:41:32 +0000
committerRaymond Hettinger <python@rcn.com>2005-02-20 12:41:32 +0000
commitc8cde1d9dbf3a308b7de3ed5447675e2898321e9 (patch)
tree010ee6d155c8d20debf042617c4b37d57028c7f6 /Lib/test/test_peepholer.py
parent8f7b6d500bf414339855903993ec4bf0a9f5e872 (diff)
downloadcpython-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