]> granicus.if.org Git - python/commitdiff
Mention the optimization of list.extend().
authorRaymond Hettinger <python@rcn.com>
Tue, 17 Feb 2004 10:46:32 +0000 (10:46 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 17 Feb 2004 10:46:32 +0000 (10:46 +0000)
Doc/whatsnew/whatsnew24.tex

index 4720eeab99201eca296059c13911c8c46d24af67..eb377bec68d005a4f22a2fb21e481a155c78089e 100644 (file)
@@ -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