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
f1ca7f56
Commit
f1ca7f56
authored
Dec 28, 2003
by
Andrew MacIntyre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
complete backout of listobject.c v2.171
parent
30973414
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
13 deletions
+0
-13
Misc/ACKS
Misc/ACKS
+0
-1
Misc/NEWS
Misc/NEWS
+0
-8
Objects/listobject.c
Objects/listobject.c
+0
-4
No files found.
Misc/ACKS
View file @
f1ca7f56
...
...
@@ -62,7 +62,6 @@ Finn Bock
Paul Boddie
Matthew Boedicker
David Bolen
Duncan Booth
Jurjen Bos
Peter Bosch
Eric Bouck
...
...
Misc/NEWS
View file @
f1ca7f56
...
...
@@ -118,14 +118,6 @@ Core and builtins
same as split() except that it scans the string from the end
working towards the beginning. See SF feature request 801847.
- in a thread on comp.lang.python, several people noted that list()
was much slower than in 2.1 and earlier versions of Python, when used
to create new lists from existing lists. Duncan Booth did some
research that uncovered an optimisation that, for lists below
about 100 elements, was actually slower than the normal case. The
special case criteria have been tightened to rectify the performance
regression.
Extension modules
-----------------
...
...
Objects/listobject.c
View file @
f1ca7f56
...
...
@@ -2242,10 +2242,6 @@ list_fill(PyListObject *result, PyObject *v)
int
n
;
/* guess for result list size */
int
i
;
/* if source is destination, we're done. */
if
(
v
==
(
PyObject
*
)
result
)
return
0
;
n
=
result
->
ob_size
;
/* Special-case list(a_list), for speed. */
...
...
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