[Python-checkins] python/dist/src/Misc NEWS,1.940,1.941
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Sun Mar 7 02:31:08 EST 2004
Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8824/Misc
Modified Files:
NEWS
Log Message:
SF patch #910929: Optimize list comprehensions
Add a new opcode, LIST_APPEND, and apply it to the code generation for
list comprehensions. Reduces the per-loop overhead by about a third.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.940
retrieving revision 1.941
diff -C2 -d -r1.940 -r1.941
*** NEWS 4 Mar 2004 08:25:44 -0000 1.940
--- NEWS 7 Mar 2004 07:31:06 -0000 1.941
***************
*** 13,16 ****
--- 13,20 ----
-----------------
+ - Implemented a newcode opcode, LIST_APPEND, that simplifies
+ the generated bytecode for list comprehensions and further
+ improves their performance (about 35%).
+
- Implemented rich comparisons for floats, which seems to make
comparisons involving NaNs somewhat less surprising when the
More information about the Python-checkins
mailing list