summaryrefslogtreecommitdiffstats
path: root/Objects/listobject.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Performance of list([]) in 2.3 came up in a thread on comp.lang.python,Andrew MacIntyre2003-12-251-6/+28
* Guido grants a Christmas wish:Raymond Hettinger2003-12-171-37/+0
* * Added a new method flag, METH_COEXIST.Raymond Hettinger2003-12-131-0/+5
* Fix memory error treatment correctly. Going to dsu_fail causesHye-Shik Chang2003-12-101-1/+1
* Fixes and tests for various "holding pointers when arbitrary Python codeMichael W. Hudson2003-12-041-35/+46
* Make sure the list.sort's decorate step unwinds itself before returningRaymond Hettinger2003-11-281-2/+9
* Improve the reverse list iterator to free memory as soon as the iteratorRaymond Hettinger2003-11-081-1/+4
* Minor code fixup. Make sure that len reflects the current list size.Raymond Hettinger2003-11-081-0/+1
* Optimize reversed(list) using a custom iterator.Raymond Hettinger2003-11-071-2/+96
* Fix compiler warning about possible use of n without assignment.Jeremy Hylton2003-11-031-5/+6
* Add list.sorted() classmethod.Raymond Hettinger2003-10-291-0/+37
* Fix typo found by Neal Norwitz.Raymond Hettinger2003-10-161-1/+1
* * list.sort() now supports three keyword arguments: cmp, key, and reverse.Raymond Hettinger2003-10-161-5/+228
* My last fix left n used unitialized in tha a==b case.Michael W. Hudson2003-08-151-1/+1
* Fix reference leak noted in test_types:Michael W. Hudson2003-08-141-9/+9
* Use _PyEval_SliceIndex to handle list.index() calls withWalter Dörwald2003-06-171-1/+3
* Fix sloppy index() implementation:Guido van Rossum2003-06-171-2/+12
* SF #754014: list.index() should accept optional start, end argumentsRaymond Hettinger2003-06-171-5/+10
* SF bug #604716: faster [None]*n or []*nRaymond Hettinger2003-05-211-0/+12
* SF bug #730296: Unexpected Changes in list IteratorRaymond Hettinger2003-05-071-2/+0
* Patch #708604: Check more function results. Will backport to 2.2.Martin v. Löwis2003-05-031-1/+8