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

Skip to content

Commit 238b267

Browse files
committed
Lists are measured in elements not bytes.
1 parent 55cf434 commit 238b267

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/whatsnew/whatsnew24.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ \subsection{Optimizations}
260260
\begin{itemize}
261261

262262
\item The machinery for growing and shrinking lists was optimized
263-
for speed and for space efficiency. Small lists (under six bytes)
264-
never over-allocate by more than one byte. Large lists do not
263+
for speed and for space efficiency. Small lists (under six elements)
264+
never over-allocate by more than one element. Large lists do not
265265
over-allocate by more than 1/8th. Appending and popping from lists
266266
now runs faster due to more efficient code paths and less frequent
267267
use of the underlying system realloc(). List comprehensions also

0 commit comments

Comments
 (0)