Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | Minor tweak to the order of variable updates. | Raymond Hettinger | 2015-09-27 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | Bump up the maximum number of freeblocks | Raymond Hettinger | 2015-09-27 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Precomputing the number iterations allows the inner-loop to be vectorizable. | Raymond Hettinger | 2015-09-26 | 1 | -2/+6 | |
| | | | | ||||||
* | | | | Hoist constant expression out of an inner loop. | Raymond Hettinger | 2015-09-26 | 1 | -6/+18 | |
| | | | | ||||||
* | | | | merge | Raymond Hettinger | 2015-09-26 | 1 | -3/+59 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Issue #25135: Avoid possible reentrancy issues in deque_clear. | Raymond Hettinger | 2015-09-26 | 1 | -3/+59 | |
| | | | | ||||||
* | | | | Replace an unpredictable branch with a simple addition. | Raymond Hettinger | 2015-09-24 | 1 | -3/+2 | |
| | | | | ||||||
* | | | | Eliminate unnecessary variables | Raymond Hettinger | 2015-09-23 | 1 | -4/+2 | |
| | | | | ||||||
* | | | | Eliminate unnecessary variable | Raymond Hettinger | 2015-09-22 | 1 | -2/+1 | |
| | | | | ||||||
* | | | | Minor consistency improvements to negative value comparisons. | Raymond Hettinger | 2015-09-22 | 1 | -9/+9 | |
| | | | | ||||||
* | | | | Add a fast path (no iterator creation) for a common case for repeating ↵ | Raymond Hettinger | 2015-09-19 | 1 | -4/+11 | |
| | | | | | | | | | | | | | | | | deques of size 1 | |||||
* | | | | Hoist constant expression out of an inner loop | Raymond Hettinger | 2015-09-19 | 1 | -2/+6 | |
| | | | | ||||||
* | | | | Tighten inner-loop for deque_inplace_repeat(). | Raymond Hettinger | 2015-09-14 | 1 | -4/+6 | |
| | | | | ||||||
* | | | | Add an exact type match fast path for deque_copy(). | Raymond Hettinger | 2015-09-13 | 1 | -0/+16 | |
| | | | | ||||||
* | | | | Fix refcount. | Raymond Hettinger | 2015-09-13 | 1 | -1/+4 | |
| | | | | ||||||
* | | | | In-line the append operations inside deque_inplace_repeat(). | Raymond Hettinger | 2015-09-12 | 1 | -4/+18 | |
| | | | | ||||||
* | | | | Simply deque repeat by reusing code in in-line repeat. Avoid unnecessary ↵ | Raymond Hettinger | 2015-09-10 | 1 | -30/+18 | |
| | | | | | | | | | | | | | | | | division. | |||||
* | | | | merge | Raymond Hettinger | 2015-09-06 | 1 | -6/+10 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Prevent reentrant badness by deferring the decrefs as long as possible. | Raymond Hettinger | 2015-09-06 | 1 | -6/+10 | |
| | | | | ||||||
* | | | | merge | Raymond Hettinger | 2015-08-26 | 1 | -0/+2 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Issue #24913: Fix overrun error in deque.index(). | Raymond Hettinger | 2015-08-26 | 1 | -0/+2 | |
| | | | | ||||||
* | | | | Minor cleanup. | Raymond Hettinger | 2015-08-14 | 1 | -3/+3 | |
| | | | | ||||||
* | | | | Fix minor typo in a comment | Raymond Hettinger | 2015-07-31 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | merge | Raymond Hettinger | 2015-07-20 | 1 | -1/+1 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | merge | Raymond Hettinger | 2015-07-20 | 1 | -1/+1 | |
| |\ \ \ | | |/ / | ||||||
| | * | | Issue #19663: Improve error message for defaultdict. | Raymond Hettinger | 2015-07-20 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | Defer deleted item decref until after the deque is restored to a consistent ↵ | Raymond Hettinger | 2015-05-02 | 1 | -6/+6 | |
| | | | | | | | | | | | | | | | | state. | |||||
| * | | | Issue #16991: Add a C implementation of collections.OrderedDict. | Eric Snow | 2015-05-30 | 1 | -0/+3 | |
| | | | | ||||||
* | | | | Divisions-by-two for a positive Py_ssize_t compile more cleanly with >>1 ↵ | Raymond Hettinger | 2015-07-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | than /2. | |||||
* | | | | Issue #16991: Add a C implementation of collections.OrderedDict. | Eric Snow | 2015-05-30 | 1 | -0/+3 | |
|/ / / | ||||||
* | | | fix refleak in deque_concat | Benjamin Peterson | 2015-04-04 | 1 | -2/+8 | |
| | | | ||||||
* | | | Issue 23793: Add deque support for __add__(), __mul__(), and __imul__(). | Raymond Hettinger | 2015-03-31 | 1 | -10/+123 | |
| | | | ||||||
* | | | Fix typo | Raymond Hettinger | 2015-03-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | Minor code and comment cleanups. | Raymond Hettinger | 2015-03-25 | 1 | -21/+18 | |
| | | | ||||||
* | | | Improve and fix-up comments. | Raymond Hettinger | 2015-03-24 | 1 | -25/+46 | |
| | | | ||||||
* | | | Issue 23744: Minor speed-up for deque.__bool__(). | Raymond Hettinger | 2015-03-24 | 1 | -1/+24 | |
| | | | ||||||
* | | | Minor nit. Make the rotate() success/fail tests consistent. | Raymond Hettinger | 2015-03-21 | 1 | -3/+3 | |
| | | | ||||||
* | | | For safety, wait to decref deleted values until the deque state has been ↵ | Raymond Hettinger | 2015-03-21 | 1 | -4/+4 | |
| | | | | | | | | | | | | restored. | |||||
* | | | Fix minor formatting nits and remove unnecessary comment. | Raymond Hettinger | 2015-03-21 | 1 | -4/+3 | |
| | | | ||||||
* | | | Issue 23704: Add index(), copy(), and insert() to deques. Register deques ↵ | Raymond Hettinger | 2015-03-21 | 1 | -0/+91 | |
| | | | | | | | | | | | | as a MutableSequence. | |||||
* | | | Issue 23705: Improve the performance of __contains__ checks for deques. | Raymond Hettinger | 2015-03-20 | 1 | -1/+33 | |
| | | | ||||||
* | | | Minor neatening-up. Make assignments in same order a struct fields. ↵ | Raymond Hettinger | 2015-03-03 | 1 | -12/+12 | |
| | | | | | | | | | | | | Line-up comments. | |||||
* | | | Switch the state variable to unsigned for defined wrap-around behavior. | Raymond Hettinger | 2015-03-03 | 1 | -3/+3 | |
| | | | ||||||
* | | | Minor beautification. Move struct definitions to the top. Fix-up a comment. | Raymond Hettinger | 2015-03-03 | 1 | -15/+15 | |
| | | | ||||||
* | | | Minor code beautification. Replace macro with in-lineable functions. | Raymond Hettinger | 2015-03-03 | 1 | -20/+35 | |
| | | | ||||||
* | | | Beautify and better document the use of the size_t cast for bounds checking. | Raymond Hettinger | 2015-03-03 | 1 | -6/+12 | |
| | | | ||||||
* | | | Issue #23553: Use an unsigned cast to tighten-up the bounds checking logic. | Raymond Hettinger | 2015-03-01 | 1 | -2/+2 | |
| | | | ||||||
* | | | Need a (size_t) cast instead of (unsigned) to be big enough for a Py_ssize_t. | Raymond Hettinger | 2015-03-01 | 1 | -6/+12 | |
| | | | ||||||
* | | | Use unsigned division and modulo for item assignment as well. | Raymond Hettinger | 2015-03-01 | 1 | -4/+5 | |
| | | | ||||||
* | | | Convert one more division to unsigned arithmetic to speed-up deque_item(). | Raymond Hettinger | 2015-02-28 | 1 | -1/+3 | |
| | | |