summaryrefslogtreecommitdiffstats
path: root/Modules/_collectionsmodule.c
Commit message (Expand)AuthorAgeFilesLines
* merge 3.5Benjamin Peterson2016-01-011-2/+0
|\
| * merge 3.4Benjamin Peterson2016-01-011-2/+0
| |\
| | * merge 3.3Benjamin Peterson2016-01-011-2/+0
| | |\
| | | * remove some copyright notices supserseded by the toplevel onesBenjamin Peterson2016-01-011-2/+0
* | | | Issue #20440: Cleaning up the code by using Py_SETREF and Py_CLEAR.Serhiy Storchaka2015-12-271-4/+1
* | | | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.Serhiy Storchaka2015-12-191-1/+1
|\ \ \ \ | |/ / /
| * | | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.Serhiy Storchaka2015-12-191-1/+1
* | | | Neaten-up the inner-loop logic.Raymond Hettinger2015-11-041-3/+3
* | | | Minor cleanup.Raymond Hettinger2015-11-021-1/+1
* | | | mergeRaymond Hettinger2015-11-021-1/+1
|\ \ \ \
| * \ \ \ Issue #25523: Merge a-to-an corrections from 3.5Martin Panter2015-11-021-1/+1
| |\ \ \ \ | | |/ / /
| | * | | Issue #25523: Further a-to-an corrections new in 3.5Martin Panter2015-11-021-1/+1
| | * | | Backport early-out 91259f061cfb to reduce the cost of bb1a2944bcb6Raymond Hettinger2015-10-071-1/+5
* | | | | Move the initial start-search out of the main loop so it can be factored-out ...Raymond Hettinger2015-11-021-16/+27
|/ / / /
* | | | Removed unused parameterRaymond Hettinger2015-10-231-10/+10
* | | | Only update the state variable once per iteration.Raymond Hettinger2015-10-201-4/+8
* | | | Issue #25414: Remove unnecessary tests that can never succeed.Raymond Hettinger2015-10-171-15/+1
* | | | Remove old Todo entry that isn't going to happen.Raymond Hettinger2015-10-161-6/+0
* | | | Rewrap comment.Raymond Hettinger2015-10-151-4/+4
* | | | Use unsigned divisionRaymond Hettinger2015-10-151-1/+1
* | | | Improve variable names and constant expressionsRaymond Hettinger2015-10-151-9/+11
* | | | Minor fixup. maxlen is already known.Raymond Hettinger2015-10-121-2/+2
* | | | Refactor the deque trim logic to eliminate the two separate trim functions.Raymond Hettinger2015-10-121-25/+14
* | | | Hoist the deque->maxlen lookup out of the inner-loop.Raymond Hettinger2015-10-111-6/+10
* | | | Minor tweak. Make the maxlen comparisons a little more clear and consistent.Raymond Hettinger2015-10-111-6/+6
* | | | Eliminate unnecessary testRaymond Hettinger2015-10-061-1/+1
* | | | Factor out common iterator finalization codeRaymond Hettinger2015-10-031-25/+20
* | | | Add fast paths to deque_init() for the common casesRaymond Hettinger2015-10-011-3/+10
* | | | Add an early-out for deque_clear()Raymond Hettinger2015-09-301-0/+3
* | | | Move the copy and clear functions upwards to eliminate unnecessary forward re...Raymond Hettinger2015-09-271-117/+113
* | | | Minor tweak to the order of variable updates.Raymond Hettinger2015-09-271-2/+2
* | | | Bump up the maximum number of freeblocksRaymond Hettinger2015-09-271-1/+1
* | | | Precomputing the number iterations allows the inner-loop to be vectorizable.Raymond Hettinger2015-09-261-2/+6
* | | | Hoist constant expression out of an inner loop.Raymond Hettinger2015-09-261-6/+18
* | | | mergeRaymond Hettinger2015-09-261-3/+59
|\ \ \ \ | |/ / /
| * | | Issue #25135: Avoid possible reentrancy issues in deque_clear.Raymond Hettinger2015-09-261-3/+59
* | | | Replace an unpredictable branch with a simple addition.Raymond Hettinger2015-09-241-3/+2
* | | | Eliminate unnecessary variablesRaymond Hettinger2015-09-231-4/+2
* | | | Eliminate unnecessary variableRaymond Hettinger2015-09-221-2/+1
* | | | Minor consistency improvements to negative value comparisons.Raymond Hettinger2015-09-221-9/+9
* | | | Add a fast path (no iterator creation) for a common case for repeating deques...Raymond Hettinger2015-09-191-4/+11
* | | | Hoist constant expression out of an inner loopRaymond Hettinger2015-09-191-2/+6
* | | | Tighten inner-loop for deque_inplace_repeat().Raymond Hettinger2015-09-141-4/+6
* | | | Add an exact type match fast path for deque_copy().Raymond Hettinger2015-09-131-0/+16
* | | | Fix refcount.Raymond Hettinger2015-09-131-1/+4
* | | | In-line the append operations inside deque_inplace_repeat().Raymond Hettinger2015-09-121-4/+18
* | | | Simply deque repeat by reusing code in in-line repeat. Avoid unnecessary div...Raymond Hettinger2015-09-101-30/+18
* | | | mergeRaymond Hettinger2015-09-061-6/+10
|\ \ \ \ | |/ / /
| * | | Prevent reentrant badness by deferring the decrefs as long as possible.Raymond Hettinger2015-09-061-6/+10
* | | | mergeRaymond Hettinger2015-08-261-0/+2
|\ \ \ \ | |/ / /