COMMITS
/ Objects/setobject.c June 8, 2017
S
bpo-30592: Fixed error messages for some builtins. (#1996)
Serhiy Storchaka committed
April 19, 2017
S
bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() (#1096)
Serhiy Storchaka committed
April 1, 2017
I
bpo-29949: Fix set memory usage regression (GH-943)
INADA Naoki committed
February 6, 2017
S
Issue #29460: _PyArg_NoKeywords(), _PyArg_NoStackKeywords() and
Serhiy Storchaka committed
February 4, 2017
R
Reduce load factor (from 66% to 60%) to improve effectiveness of linear probing.
Raymond Hettinger committed
February 2, 2017
R
Remove unnecessary variables.
Raymond Hettinger committed
December 16, 2016
S
Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of dict.
Serhiy Storchaka committed
November 20, 2016
S
Added the const qualifier to char* variables that refer to readonly internal
Serhiy Storchaka committed
S
Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize
Serhiy Storchaka committed
September 12, 2016
R
Issue #28071: Add early-out for differencing from an empty set.
Raymond Hettinger committed
April 29, 2016
R
Removed unused initialization and the uninteresting comment.
Raymond Hettinger committed
S
Issue #26880: Removed redundant checks in set.__init__.
Serhiy Storchaka committed
March 30, 2016
S
Issue #26494: Fixed crash on iterating exhausting iterators.
Serhiy Storchaka committed
S
Issue #26494: Fixed crash on iterating exhausting iterators.
Serhiy Storchaka committed
March 27, 2016
R
Moved misplaced functions to the section for C API functions.
Raymond Hettinger committed
March 26, 2016
R
Responsibility for argument checking belongs in set.__init__() rather than set.__new__().
Raymond Hettinger committed
March 25, 2016
R
Speed-up construction of empty sets by approx 12-14%.
Raymond Hettinger committed
February 4, 2016
R
Add early-out for the common case where kwds is NULL (gives 1.1% speedup).
Raymond Hettinger committed
January 1, 2016
December 19, 2015
S
Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
Serhiy Storchaka committed
S
Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
Serhiy Storchaka committed
December 15, 2015
R
Minor tweek. Counting down rather than up reduces register pressure.
Raymond Hettinger committed
December 14, 2015
R
Undo inadvertent line swap
Raymond Hettinger committed
R
Hoist constant expressions (so->table and so->mask) out of the inner-loop.
Raymond Hettinger committed
November 18, 2015
R
Add assertion to verify the pre-condition in the comments.
Raymond Hettinger committed
November 17, 2015
R
Issue #25629: Move set fill/used updates out of inner loop
Raymond Hettinger committed
August 7, 2015
R
Move the active entry multiplication to later in the hash calculation
Raymond Hettinger committed
R
Restore frozenset hash caching removed in cf707dd190a9
Raymond Hettinger committed
August 1, 2015
R
Fix comment typo
Raymond Hettinger committed
R
Tweak the comments
Raymond Hettinger committed
R
Issue #24762: Speed-up frozenset_hash() and greatly beef-up the comments.
Raymond Hettinger committed
July 31, 2015
R
Issue #24681: Move the most likely test first in set_add_entry().
Raymond Hettinger committed
July 23, 2015
R
Issue #24681: Move the store of so->table to the code block where it is used.
Raymond Hettinger committed
July 20, 2015
R
Issue #24583: Consolidate previous set object updates into a single function
Raymond Hettinger committed
R
Issue #24583: Fix refcount leak.
Raymond Hettinger committed
July 16, 2015
R
Issue #24583: Fix crash when set is mutated while being updated.
Raymond Hettinger committed
R
Issue #24583: Fix crash when set is mutated while being updated.
Raymond Hettinger committed
July 8, 2015
R
Neaten-up a little bit.
Raymond Hettinger committed
July 7, 2015
R
Issue 24581: Revert c9782a9ac031 pending a stronger test for mutation during iteration.
Raymond Hettinger committed
R
Minor bit of factoring-out common code.
Raymond Hettinger committed
R
Tighten-up code in the set iterator to use an entry pointer rather than indexing.
Raymond Hettinger committed
July 6, 2015
R
Tighten-up code in set_next() to use an entry pointer rather than indexing.
Raymond Hettinger committed
July 5, 2015
R
Bring related functions add/contains/discard together in the code.
Raymond Hettinger committed
R
Change add/contains/discard calls to pass the key and hash instead of an entry struct.
Raymond Hettinger committed
R
Clean-up call patterns for add/contains/discard to better match the caller's needs.
Raymond Hettinger committed
July 4, 2015
R
Make the unicode equality test an external function rather than in-lining it.
Raymond Hettinger committed