From: Raymond Hettinger Date: Tue, 17 Feb 2004 10:46:32 +0000 (+0000) Subject: Mention the optimization of list.extend(). X-Git-Tag: v2.4a1~806 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=79b5cf112932dd2e3dd14bc9be3f45db88d7faa4;p=thirdparty%2FPython%2Fcpython.git Mention the optimization of list.extend(). --- diff --git a/Doc/whatsnew/whatsnew24.tex b/Doc/whatsnew/whatsnew24.tex index 4720eeab9920..eb377bec68d0 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