]> granicus.if.org Git - python/commitdiff
Lists are measured in elements not bytes.
authorRaymond Hettinger <python@rcn.com>
Fri, 13 Feb 2004 21:50:27 +0000 (21:50 +0000)
committerRaymond Hettinger <python@rcn.com>
Fri, 13 Feb 2004 21:50:27 +0000 (21:50 +0000)
Doc/whatsnew/whatsnew24.tex

index 3530c12c70eb82908a8f217f9b696d8a5a49bf38..1fbc298be74e52a462e0cda5928ad3006575908e 100644 (file)
@@ -260,8 +260,8 @@ yellow 5
 \begin{itemize}
 
 \item The machinery for growing and shrinking lists was optimized
- for speed and for space efficiency.  Small lists (under six bytes)
- never over-allocate by more than one byte.  Large lists do not
+ for speed and for space efficiency.  Small lists (under six elements)
+ never over-allocate by more than one element.  Large lists do not
  over-allocate by more than 1/8th.  Appending and popping from lists
  now runs faster due to more efficient code paths and less frequent
  use of the underlying system realloc().  List comprehensions also