summaryrefslogtreecommitdiffstats
path: root/Modules/_collectionsmodule.c
Commit message (Expand)AuthorAgeFilesLines
* Minor code simplification by eliminating an unnecessary temporary variable.Raymond Hettinger2013-07-211-12/+6
* Tweak the deque struct by moving the least used fields (maxlen and weakref) t...Raymond Hettinger2013-07-141-1/+1
* Use a do-while loop in the inner loop for rotate (m is always greater than ze...Raymond Hettinger2013-07-141-2/+6
* Move the freeblock() call outside the main loop to speed-up and simplify the ...Raymond Hettinger2013-07-131-9/+15
* Add a spacing saving heuristic to deque's extend methodsRaymond Hettinger2013-07-091-0/+16
* Fix #ifdefRaymond Hettinger2013-07-071-1/+1
* Use macros for marking and checking endpoints in the doubly-linked list of bl...Raymond Hettinger2013-07-071-47/+81
* Improve variable names in deque_count()Raymond Hettinger2013-07-071-8/+8
* Apply the PyObject_VAR_HEAD and Py_SIZE macrosRaymond Hettinger2013-07-061-40/+39
* Refactor deque_traverse().Raymond Hettinger2013-07-061-6/+6
* Remove unnecessary branches from count() and reverse().Raymond Hettinger2013-07-061-6/+3
* Speed-up deque indexing by changing the deque block length to a power of two.Raymond Hettinger2013-07-061-1/+1
* Misc improvements to collections.deque()Raymond Hettinger2013-06-231-72/+93
* Minor tweaks to varnames, declarations, and comments.Raymond Hettinger2013-02-071-8/+7
* Minor variable access clean-ups for deque.rotate().Raymond Hettinger2013-02-051-13/+13
* Minor edits: Tighten-up the halflen logic and touch-up the assertions and co...Raymond Hettinger2013-02-041-10/+6
* Issue 16398: One more assertion for good measure.Raymond Hettinger2013-02-021-0/+2
* Issue 16398: Add assertions to show why memcmp is safe.Raymond Hettinger2013-02-021-1/+4
* Issue 16398: Use memcpy() in deque.rotate().Raymond Hettinger2013-02-021-50/+60
* merge 3.3Benjamin Peterson2013-01-131-6/+2
|\
| * make deque_clear void, since it's infallibleBenjamin Peterson2013-01-131-6/+2
* | Issue #16398: Optimize deque.rotate()Raymond Hettinger2013-01-121-14/+58
|/
* Merge: fix docstring for deque ctor to mark iterable parameter optionalAndrew Svetlov2012-10-311-1/+1
|\
| * Fix docstring for deque ctor to mark iterable parameter optionalAndrew Svetlov2012-10-311-1/+1
* | MERGE: Closes #15469: Correct __sizeof__ support for dequeJesus Cea2012-08-031-1/+20
|\ \ | |/
| * Closes #15469: Correct __sizeof__ support for dequeJesus Cea2012-08-031-1/+20
* | Issue #14288: Serialization support for builtin iterators.Kristján Valur Jónsson2012-04-031-2/+91
* | Issue #13015: Fix a possible reference leak in defaultdict.__repr__.Antoine Pitrou2012-02-151-1/+3
|\ \ | |/
| * Issue #13015: Fix a possible reference leak in defaultdict.__repr__.Antoine Pitrou2012-02-151-1/+3
* | Rename _Py_identifier to _Py_IDENTIFIER.Martin v. Löwis2011-10-141-2/+2
* | Use identifier API for PyObject_GetAttrString.Martin v. Löwis2011-10-101-1/+2
* | Add API for static strings, primarily good for identifiers.Martin v. Löwis2011-10-091-1/+3
* | Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED.Brian Curtin2011-08-111-2/+1
* | Simplify _count_elements() in _collectionsVictor Stinner2011-04-201-12/+4
|/
* Issue 11713: clarify docstring for collections.deque()Raymond Hettinger2011-03-301-1/+1
* Issue #11004: Repair edge case in deque.count().Raymond Hettinger2011-01-251-4/+7
* Make C helper function more closely match the pure python version, and add te...Raymond Hettinger2011-01-031-22/+49
* Issue 10667: Fast path for collections.CounterRaymond Hettinger2010-12-151-1/+67
* Remove more unneeded casts to hashfunc.Georg Brandl2010-10-181-4/+4
* Fix <deque iterator>.__length_hint__() under 64-bit Windows.Antoine Pitrou2010-08-171-1/+1
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-091-1124/+1124
* Add count() method to collections.deque().Raymond Hettinger2010-04-031-0/+42
* Fix variants of deque.extend: d.extend(d) d+=d d.extendleft(d)Raymond Hettinger2009-12-101-0/+40
* Add a reverse() method to collections.deque().Raymond Hettinger2009-12-101-0/+44
* Issue 6637: defaultdict.copy() failed with an empty factory.Raymond Hettinger2009-08-041-1/+4
* For collections.deque() objects, expose the maxlen parameter as a read-only a...Raymond Hettinger2009-03-101-1/+15
* Small optimization for corner case where maxlen==0.Raymond Hettinger2009-03-101-0/+23
* Issue #1717: rename tp_compare to tp_reserved. I'll change theMark Dickinson2009-02-021-4/+4
* Merged revisions 68112,68115,68120,68133,68141-68142,68145-68146,68148-68149 ...Georg Brandl2009-01-031-2/+2
* Merged revisions 68128 via svnmerge fromAntoine Pitrou2009-01-011-7/+16