COMMITS
/ Objects/setobject.c 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
R
Make sure the dummy percentage calculation won't overflow.
Raymond Hettinger committed
R
Minor cleanup.
Raymond Hettinger committed
R
Minor nit: Make the style of checking error return values more consistent.
Raymond Hettinger committed
R
Minor factoring: move redundant resize scaling logic into the resize function.
Raymond Hettinger committed
R
Call set_lookkey() directly to avoid unnecessary memory spills and reloads.
Raymond Hettinger committed
R
Move insertion resize logic into set_insert_key().
Raymond Hettinger committed
June 28, 2015
R
Minor refactoring. Move reference count logic into function that adds entry.
Raymond Hettinger committed
June 26, 2015
R
Minor tweeak to tighten the inner-loop.
Raymond Hettinger committed
June 24, 2015
R
Minor code cleanup.
Raymond Hettinger committed
June 21, 2015
R
Harmonize the bottom of the outer loop with its entry point
Raymond Hettinger committed