commit | afd842f5b262bfe5e2e2e53762d748b5da6caf2c | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun Feb 20 12:46:54 2005 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sun Feb 20 12:46:54 2005 +0000 |
tree | 9f9a7b567735efff9ea61825e4fb875e47c89c8b | |
parent | 80121491e083a3e80d482f73d201590083285d57 [diff] |
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.