[Python-checkins] python/dist/src/Misc NEWS,1.951,1.952

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Sun Mar 21 10:12:02 EST 2004


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15203/Misc
Modified Files:
	NEWS 
Log Message:
Improve byte coding for multiple assignments.
Gives 30% speedup on "a,b=1,2" and 25% on "a,b,c=1,2,3".
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.951
retrieving revision 1.952
diff -C2 -d -r1.951 -r1.952
*** NEWS	20 Mar 2004 22:52:13 -0000	1.951
--- NEWS	21 Mar 2004 15:11:59 -0000	1.952
***************
*** 13,16 ****
--- 13,19 ----
 -----------------
 
+ - 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.


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /