summaryrefslogtreecommitdiff
path: root/Objects/setobject.c
AgeCommit message (Expand)AuthorLines
2019-06-11[3.7] bpo-37219: Remove erroneous optimization for differencing an empty set ...Raymond Hettinger-8/+0
2018-10-20bpo-1621: Avoid signed integer overflow in set_table_resize() (GH-9059) (GH-9...Miss Islington (bot)-8/+3
2018-05-02bpo-33391: Fix refleak in set_symmetric_difference (GH-6670)Miss Islington (bot)-1/+3
2018-01-18Removed unnecesssary bit inversion which doesn't improve dispersion statistic...Raymond Hettinger-1/+1
2018-01-16bpo-26163: Frozenset hash improvement (#5194)Raymond Hettinger-0/+1
2018-01-14bpo-29476: Simplify set_add_entry() (#5175)Raymond Hettinger-2/+2
2017-09-14bpo-31462: Remove trailing whitespaces. (#3564)Serhiy Storchaka-1/+1
2017-09-07bpo-30860: Consolidate stateful runtime globals. (#3397)Eric Snow-0/+1
2017-09-05Revert "bpo-30860: Consolidate stateful runtime globals." (#3379)Eric Snow-1/+0
2017-09-05bpo-30860: Consolidate stateful runtime globals. (#2594)Eric Snow-0/+1
2017-09-04Fix terminology in comment and add more design rationale. (#3335)Raymond Hettinger-3/+10
2017-08-24bpo-31095: fix potential crash during GC (GH-2974)INADA Naoki-0/+3
2017-06-08bpo-30592: Fixed error messages for some builtins. (#1996)Serhiy Storchaka-2/+2
2017-04-19bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() (#1096)Serhiy Storchaka-3/+9
2017-04-01bpo-29949: Fix set memory usage regression (GH-943)INADA Naoki-6/+5
2017-02-06Issue #29460: _PyArg_NoKeywords(), _PyArg_NoStackKeywords() andSerhiy Storchaka-3/+2
2017-02-04Reduce load factor (from 66% to 60%) to improve effectiveness of linear probing.Raymond Hettinger-3/+3
2017-02-02Remove unnecessary variables.Raymond Hettinger-5/+2
2016-12-16Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of ...Serhiy Storchaka-1/+1
2016-11-20Added the const qualifier to char* variables that refer to readonly internalSerhiy Storchaka-1/+1
2016-11-20Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSizeSerhiy Storchaka-1/+1
2016-09-11Issue #28071: Add early-out for differencing from an empty set.Raymond Hettinger-0/+8
2016-04-29Removed unused initialization and the uninteresting comment.Raymond Hettinger-2/+1
2016-04-29Issue #26880: Removed redundant checks in set.__init__.Serhiy Storchaka-3/+1
2016-03-30Issue #26494: Fixed crash on iterating exhausting iterators.Serhiy Storchaka-1/+1
2016-03-30Issue #26494: Fixed crash on iterating exhausting iterators.Serhiy Storchaka-1/+1
2016-03-27Moved misplaced functions to the section for C API functions.Raymond Hettinger-12/+12
2016-03-26Responsibility for argument checking belongs in set.__init__() rather than se...Raymond Hettinger-3/+0
2016-03-25Speed-up construction of empty sets by approx 12-14%.Raymond Hettinger-2/+3
2016-02-04Add early-out for the common case where kwds is NULL (gives 1.1% speedup).Raymond Hettinger-2/+3
2016-01-01merge 3.5Benjamin Peterson-3/+0
2016-01-01merge 3.4Benjamin Peterson-3/+0
2016-01-01merge 3.3Benjamin Peterson-3/+0
2016-01-01remove some copyright notices supserseded by the toplevel onesBenjamin Peterson-3/+0
2015-12-19Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.Serhiy Storchaka-1/+1
2015-12-19Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.Serhiy Storchaka-1/+1
2015-12-15Minor tweek. Counting down rather than up reduces register pressure.Raymond Hettinger-1/+1
2015-12-13Undo inadvertent line swapRaymond Hettinger-1/+1
2015-12-13Hoist constant expressions (so->table and so->mask) out of the inner-loop.Raymond Hettinger-12/+12
2015-11-17Add assertion to verify the pre-condition in the comments.Raymond Hettinger-0/+1
2015-11-17Issue #25629: Move set fill/used updates out of inner loopRaymond Hettinger-7/+8
2015-08-07Move the active entry multiplication to later in the hash calculationRaymond Hettinger-4/+4
2015-08-06Restore frozenset hash caching removed in cf707dd190a9Raymond Hettinger-0/+3
2015-08-01Fix comment typoRaymond Hettinger-1/+1
2015-08-01Tweak the commentsRaymond Hettinger-1/+3
2015-08-01Issue #24762: Speed-up frozenset_hash() and greatly beef-up the comments.Raymond Hettinger-27/+43
2015-07-31Issue #24681: Move the most likely test first in set_add_entry().Raymond Hettinger-6/+9
2015-07-23Issue #24681: Move the store of so->table to the code block where it is used.Raymond Hettinger-7/+10
2015-07-20Issue #24583: Consolidate previous set object updates into a single functionRaymond Hettinger-19/+20
2015-07-20Issue #24583: Fix refcount leak.Raymond Hettinger-1/+5