summaryrefslogtreecommitdiffstats
path: root/Objects/listobject.c
Commit message (Expand)AuthorAgeFilesLines
* SF patch #1005778, Fix seg fault if list object is modified during list.index()Neal Norwitz2004-08-131-3/+1
* Previous commit was viewed as "perverse". Changed to just cast the unusedBrett Cannon2004-08-081-1/+3
* Tweak previous patch to silence a warning about the unused left value in theBrett Cannon2004-08-031-1/+1
* list_ass_slice(): Document the obscure new intent that deleting a sliceTim Peters2004-07-311-8/+16
* list_ass_slice(): The difference between "recycle" and "recycled" wasTim Peters2004-07-311-17/+10
* Armin asked for a list_ass_slice review in his checkin, so here's theTim Peters2004-07-311-26/+44
* This is a reorganization of list_ass_slice(). It should probably be reviewed,Armin Rigo2004-07-301-22/+20
* What if you call lst.__init__() while it is being sorted? :-)Armin Rigo2004-07-301-2/+4
* * Simplify and speed-up list_resize(). Relying on the newly documentedRaymond Hettinger2004-07-291-3/+7
* * drop the unreasonable list invariant that ob_item should never come backArmin Rigo2004-07-291-28/+46
* Minor memory leak.Armin Rigo2004-07-291-0/+2
* Fix obscure breakage (relative to 2.3) in listsort: the test for listTim Peters2004-07-291-26/+12
* Trimmed trailing whitespace.Tim Peters2004-07-291-21/+21
* PyList_New(): we went to all the trouble of computing and bounds-checkingTim Peters2004-07-291-1/+2
* Moved SunPro warning suppression into pyport.h and out of individualNicholas Bastin2004-07-151-4/+0
* Fixed end-of-loop code not reached warning when using SunPro CNicholas Bastin2004-06-171-0/+4
* Nits:Raymond Hettinger2004-05-051-16/+9
* SF patch #947476: Apply freelist technique to listsRaymond Hettinger2004-05-051-4/+17
* Use Py_RETURN_NONE macro where applicable.Raymond Hettinger2004-04-121-14/+8
* Small refactoring saving one function() and eliminating some indirection.Raymond Hettinger2004-04-121-11/+10
* * Specialize ins1() into app1() for appends. Saves several unnecessaryRaymond Hettinger2004-04-121-6/+36
* Get rid of listextend_internal() and explain why the special caseArmin Rigo2004-03-201-51/+25
* Make iterators length transparent where possible.Raymond Hettinger2004-03-181-1/+14
* Revert last change. Found an application that was worse off with resizeRaymond Hettinger2004-03-151-13/+10
* list_resize() now has an "exact" option for bypassing the overallocationRaymond Hettinger2004-03-141-10/+13
* Make PySequence_Fast_ITEMS public. (Thanks Skip.)Raymond Hettinger2004-03-121-3/+3
* * Eliminate duplicate call to PyObject_Size().Raymond Hettinger2004-03-121-3/+3
* Use a new macro, PySequence_Fast_ITEMS to factor out code common toRaymond Hettinger2004-03-121-16/+3
* Now that list.extend() is at the root of many list operations, it becomesRaymond Hettinger2004-03-111-3/+9
* Eliminate a big block of duplicate code in PySequence_List() byRaymond Hettinger2004-03-111-0/+6
* list_inplace_concat() is now expressed in terms of list_extend() whichRaymond Hettinger2004-03-111-14/+13
* Use memcpy() instead of memmove() when the buffers are known to be distinct.Raymond Hettinger2004-03-101-2/+2
* Tidied up the implementations of reversed (including the custom onesRaymond Hettinger2004-03-101-9/+23
* Optimize inner loops for subscript, repeat, and concat.Raymond Hettinger2004-03-091-27/+39
* Optimize slice assignments.Raymond Hettinger2004-03-091-16/+17
* Optimize tuple_slice() and make further improvements to list_slice()Raymond Hettinger2004-03-081-14/+16
* Small optimizations for list_slice() and list_extend_internal().Raymond Hettinger2004-03-081-9/+20
* Keep the list.pop() optimization while restoring the many possibilityRaymond Hettinger2004-02-191-4/+2
* Double the speed of list.pop() which was spending most of its time parsingRaymond Hettinger2004-02-171-2/+11
* Refactor list_extend() and list_fill() for gains in code size, memoryRaymond Hettinger2004-02-151-84/+71
* Fine tune the speed/space trade-off for overallocating small lists.Raymond Hettinger2004-02-141-8/+3
* Fix missing return value. Spotted by Neal NorwitzRaymond Hettinger2004-02-141-0/+1
* Optimize list.pop() for the common special case of popping off the end.Raymond Hettinger2004-02-131-0/+5
* * Optimized list appends and pops by making fewer calls the underlying systemRaymond Hettinger2004-02-131-89/+68
* Revert change accidentally checked in as part of a whitespace normalizationTim Peters2004-01-181-9/+5
* Whitespace normalization.Tim Peters2004-01-181-5/+9
* Apply tuple/list pre-sizing optimization to a broader class of objects.Raymond Hettinger2004-01-041-8/+4
* complete backout of listobject.c v2.171Andrew MacIntyre2003-12-281-4/+0
* Revert previous two checkins to repair test failure.Jeremy Hylton2003-12-261-24/+6
* use the correct macro to access list sizeAndrew MacIntyre2003-12-261-1/+1