summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-02-17 10:46:32 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-02-17 10:46:32 (GMT)
commit79b5cf112932dd2e3dd14bc9be3f45db88d7faa4 (patch)
treedbd15d89a455177b2bd933dc40115798afd3db4e
parent70a30e8c948e2cad90f8e49e7771059c930ec61e (diff)
downloadcpython-79b5cf112932dd2e3dd14bc9be3f45db88d7faa4.zip
cpython-79b5cf112932dd2e3dd14bc9be3f45db88d7faa4.tar.gz
cpython-79b5cf112932dd2e3dd14bc9be3f45db88d7faa4.tar.bz2
Mention the optimization of list.extend().
-rw-r--r--Doc/whatsnew/whatsnew24.tex2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/whatsnew/whatsnew24.tex b/Doc/whatsnew/whatsnew24.tex
index 4720eea..eb377be 100644
--- a/Doc/whatsnew/whatsnew24.tex
+++ b/Doc/whatsnew/whatsnew24.tex
@@ -267,6 +267,8 @@ yellow 5
use of the underlying system realloc(). List comprehensions also
benefit. The amount of improvement varies between systems and shows
the greatest improvement on systems with poor realloc() implementations.
+ \method{list.extend()} was also optimized and no longer converts its
+ argument into a temporary list prior to extending the base list.
\item \function{list()}, \function{tuple()}, \function{map()},
\function{filter()}, and \function{zip()} now run several times