summaryrefslogtreecommitdiff
path: root/Modules/_collectionsmodule.c
Commit message (Expand)AuthorAgeFilesLines
...
* | | | Issue #25414: Remove unnecessary tests that can never succeed.Raymond Hettinger2015-10-161-15/+1
* | | | Remove old Todo entry that isn't going to happen.Raymond Hettinger2015-10-151-6/+0
* | | | Rewrap comment.Raymond Hettinger2015-10-151-4/+4
* | | | Use unsigned divisionRaymond Hettinger2015-10-141-1/+1
* | | | Improve variable names and constant expressionsRaymond Hettinger2015-10-141-9/+11
* | | | Minor fixup. maxlen is already known.Raymond Hettinger2015-10-111-2/+2
* | | | Refactor the deque trim logic to eliminate the two separate trim functions.Raymond Hettinger2015-10-111-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-101-6/+6
* | | | Eliminate unnecessary testRaymond Hettinger2015-10-051-1/+1
* | | | Factor out common iterator finalization codeRaymond Hettinger2015-10-021-25/+20
* | | | Add fast paths to deque_init() for the common casesRaymond Hettinger2015-09-301-3/+10
* | | | Add an early-out for deque_clear()Raymond Hettinger2015-09-291-0/+3
* | | | Move the copy and clear functions upwards to eliminate unnecessary forward re...Raymond Hettinger2015-09-261-117/+113
* | | | Minor tweak to the order of variable updates.Raymond Hettinger2015-09-261-2/+2
* | | | Bump up the maximum number of freeblocksRaymond Hettinger2015-09-261-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-231-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-211-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-091-30/+18
* | | | mergeRaymond Hettinger2015-09-051-6/+10
|\ \ \ \ | |/ / /
| * | | Prevent reentrant badness by deferring the decrefs as long as possible.Raymond Hettinger2015-09-051-6/+10
* | | | mergeRaymond Hettinger2015-08-261-0/+2
|\ \ \ \ | |/ / /
| * | | Issue #24913: Fix overrun error in deque.index().Raymond Hettinger2015-08-261-0/+2
* | | | Minor cleanup.Raymond Hettinger2015-08-141-3/+3
* | | | Fix minor typo in a commentRaymond Hettinger2015-07-311-1/+1
* | | | mergeRaymond Hettinger2015-07-201-1/+1
|\ \ \ \ | |/ / /
| * | | mergeRaymond Hettinger2015-07-201-1/+1
| |\ \ \ | | |/ /
| | * | Issue #19663: Improve error message for defaultdict.Raymond Hettinger2015-07-201-1/+1
| | * | Defer deleted item decref until after the deque is restored to a consistent s...Raymond Hettinger2015-05-021-6/+6
| * | | Issue #16991: Add a C implementation of collections.OrderedDict.Eric Snow2015-05-291-0/+3
* | | | Divisions-by-two for a positive Py_ssize_t compile more cleanly with >>1 than...Raymond Hettinger2015-07-201-1/+1
* | | | Issue #16991: Add a C implementation of collections.OrderedDict.Eric Snow2015-05-291-0/+3
|/ / /
* | | fix refleak in deque_concatBenjamin Peterson2015-04-041-2/+8
* | | Issue 23793: Add deque support for __add__(), __mul__(), and __imul__().Raymond Hettinger2015-03-311-10/+123
* | | Fix typoRaymond Hettinger2015-03-241-1/+1
* | | Minor code and comment cleanups.Raymond Hettinger2015-03-241-21/+18
* | | Improve and fix-up comments.Raymond Hettinger2015-03-241-25/+46
* | | Issue 23744: Minor speed-up for deque.__bool__().Raymond Hettinger2015-03-231-1/+24