diff options
author | Raymond Hettinger <python@rcn.com> | 2003-04-24 05:45:23 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-04-24 05:45:23 (GMT) |
commit | f4cf76dd5eabd8af5d2a866da1f75fa745aa6f29 (patch) | |
tree | 706a194da1728cb6e6907e4a74351df2bcccfc39 /Misc | |
parent | 7d618c731c4505ab92f085f97faa475ac3ad72d4 (diff) | |
download | cpython-f4cf76dd5eabd8af5d2a866da1f75fa745aa6f29.zip cpython-f4cf76dd5eabd8af5d2a866da1f75fa745aa6f29.tar.gz cpython-f4cf76dd5eabd8af5d2a866da1f75fa745aa6f29.tar.bz2 |
Revert the previous enhancement to the bytecode optimizer.
The additional code complexity and new NOP opcode were not worth it.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -306,13 +306,6 @@ Core and builtins value, but according to PEP 237 it really needs to be 1 now. This will be backported to Python 2.2.3 a well. (SF #660455) -- Added several bytecode optimizations. Provides speed-ups to - inverted in/is tests, inverted jumps, while 1 loops, and jumps to - unconditional jumps. - -- Added a new opcode, NOP, which is used in some of the bytecode - transformations. - - int(s, base) sometimes sign-folds hex and oct constants; it only does this when base is 0 and s.strip() starts with a '0'. When the sign is actually folded, as in int("0xffffffff", 0) on a 32-bit |