Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 79b5cf1

Browse files
committed
Mention the optimization of list.extend().
1 parent 70a30e8 commit 79b5cf1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Doc/whatsnew/whatsnew24.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@ \subsection{Optimizations}
267267
use of the underlying system realloc(). List comprehensions also
268268
benefit. The amount of improvement varies between systems and shows
269269
the greatest improvement on systems with poor realloc() implementations.
270+
\method{list.extend()} was also optimized and no longer converts its
271+
argument into a temporary list prior to extending the base list.
270272

271273
\item \function{list()}, \function{tuple()}, \function{map()},
272274
\function{filter()}, and \function{zip()} now run several times

0 commit comments

Comments
 (0)