Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
238b267b
Commit
238b267b
authored
Feb 13, 2004
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lists are measured in elements not bytes.
parent
55cf4347
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Doc/whatsnew/whatsnew24.tex
Doc/whatsnew/whatsnew24.tex
+2
-2
No files found.
Doc/whatsnew/whatsnew24.tex
View file @
238b267b
...
...
@@ -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
byte
s)
never over-allocate by more than one
byte
. Large lists do not
for speed and for space efficiency. Small lists (under six
element
s)
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment