summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-03-21 15:12:00 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-03-21 15:12:00 (GMT)
commitff5bc50bb0f12d5203173c7ee6840cc77a3bbe7a (patch)
tree5cadf3ca6b87f4fcd1c60cf145c2dc7031b4122f /Misc
parent8b6cc2e7f29d15c1aa6524f6f84fa8e6cb1a50e6 (diff)
downloadcpython-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/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 9f27fd7..f543eca 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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 .