diff options
author | Raymond Hettinger <python@rcn.com> | 2005-02-20 12:41:32 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2005-02-20 12:41:32 (GMT) |
commit | 80121491e083a3e80d482f73d201590083285d57 (patch) | |
tree | 2b4326c876501e6dad7b91dfefeec607c6626bd4 /Lib/test | |
parent | 57e7447c447249a33a13da853f8c1bfec546842a (diff) | |
download | cpython-80121491e083a3e80d482f73d201590083285d57.zip cpython-80121491e083a3e80d482f73d201590083285d57.tar.gz cpython-80121491e083a3e80d482f73d201590083285d57.tar.bz2 |
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')
0 files changed, 0 insertions, 0 deletions