diff options
author | Raymond Hettinger <python@rcn.com> | 2004-03-21 15:12:00 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-03-21 15:12:00 (GMT) |
commit | ff5bc50bb0f12d5203173c7ee6840cc77a3bbe7a (patch) | |
tree | 5cadf3ca6b87f4fcd1c60cf145c2dc7031b4122f /Misc | |
parent | 8b6cc2e7f29d15c1aa6524f6f84fa8e6cb1a50e6 (diff) | |
download | cpython-ff5bc50bb0f12d5203173c7ee6840cc77a3bbe7a.zip cpython-ff5bc50bb0f12d5203173c7ee6840cc77a3bbe7a.tar.gz cpython-ff5bc50bb0f12d5203173c7ee6840cc77a3bbe7a.tar.bz2 |
Improve byte coding for multiple assignments.
Gives 30% speedup on "a,b=1,2" and 25% on "a,b,c=1,2,3".
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -12,6 +12,9 @@ What's New in Python 2.4 alpha 1? Core and builtins ----------------- +- Optimized the byte coding for multiple assignments like "a,b=b,a" and + "a,b,c=1,2,3". Improves their speed by 25% to 30%. + - Limit the nested depth of a tuple for the second argument to isinstance() and issubclass() to the recursion limit of the interpreter. Fixes bug #858016 . |