summaryrefslogtreecommitdiff
path: root/Objects/setobject.c
AgeCommit message (Expand)AuthorLines
2016-01-01merge 3.3Benjamin Peterson-3/+0
2016-01-01remove some copyright notices supserseded by the toplevel onesBenjamin Peterson-3/+0
2015-05-30Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),Serhiy Storchaka-4/+13
2014-01-14Fix typo in comment.Eric V. Smith-1/+1
2014-01-05Add comments to frozenset_hash().Raymond Hettinger-1/+14
2013-12-15Minor code clean-up. Keep the C-API all in one section.Raymond Hettinger-3/+3
2013-09-21Note that LINEAR_PROBES can be set to zero.Raymond Hettinger-1/+1
2013-09-21Minor beautification. Put updates and declarations in a more logical order.Raymond Hettinger-2/+2
2013-09-21When LINEAR_PROBES=0, let the compiler remove the dead code on its own.Raymond Hettinger-12/+0
2013-09-21Make the linear probe sequence clearer.Raymond Hettinger-8/+4
2013-09-15Issue 18771: Make it possible to set the number linear probes at compile-time.Raymond Hettinger-5/+19
2013-09-08Put the defines in the logical section and fix indentation.Raymond Hettinger-8/+8
2013-09-07Minor code beautification.Raymond Hettinger-6/+5
2013-09-07Improve code clarity by removing two unattractive macros.Raymond Hettinger-16/+18
2013-09-07Remove the freelist scheme for setobjects.Raymond Hettinger-47/+8
2013-09-07Small rearrangement to bring together the three functions for probing the has...Raymond Hettinger-32/+39
2013-09-07Move the overview comment to the top of the file.Raymond Hettinger-22/+20
2013-09-02Minor touchups.Raymond Hettinger-4/+6
2013-09-02Factor-out the common code for setting a KeyError.Raymond Hettinger-15/+1
2013-09-02Instead of XORed indicies, switch to a hybrid of linear probing and open addr...Raymond Hettinger-91/+68
2013-08-31Update copyright.Raymond Hettinger-1/+1
2013-08-31Further reduce the cost of hash collisions by inspecting an additional nearby...Raymond Hettinger-4/+39
2013-08-28Tighten-up the lookkey() logic and beautify the code a bit.Raymond Hettinger-88/+43
2013-08-24Issue #18772: fix the gdb plugin after the set implementation changesAntoine Pitrou-8/+2
2013-08-23Add the same dummy type that is used in dictionaries.Raymond Hettinger-15/+49
2013-08-22Issue 18797: Remove unneeded refcount adjustments for dummy objects.Raymond Hettinger-16/+6
2013-08-21Hoist the global dummy lookup out of the inner loop for set_merge().Raymond Hettinger-1/+3
2013-08-20Remove a redundant hash table probe (this was artifact from an earlier draft ...Raymond Hettinger-11/+0
2013-08-20Issue 18772: Restore set dummy object back to unicode and restore the identi...Raymond Hettinger-4/+4
2013-08-19Issue18771: Reduce the cost of hash collisions for set objects.Raymond Hettinger-20/+86
2013-08-17Remove the else-clause because the conditions are no longer mutually exclusive.Raymond Hettinger-1/+1
2013-08-17Use a known unique object for the dummy entry.Raymond Hettinger-25/+20
2013-08-15Hoist the global "dummy" lookup outside of the reinsertion loop.Raymond Hettinger-1/+3
2013-08-13Issue #18722: Remove uses of the "register" keyword in C code.Antoine Pitrou-37/+37
2013-08-05Replace outdated optimization with clearer code that compiles better.Raymond Hettinger-3/+3
2013-08-04Silence compiler warning for an unused declarationRaymond Hettinger-1/+0
2013-06-18Fix compilation warning with gcc 4.8 (unused typedef)Antoine Pitrou-1/+0
2012-12-10Fix the internals of our hash functions to used unsigned values during hashGregory P. Smith-6/+6
2012-12-10Fix the internals of our hash functions to used unsigned values during hashGregory P. Smith-6/+6
2012-09-28Fix typo.Ezio Melotti-2/+2
2012-06-22Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allo...David Malcolm-0/+10
2012-04-05Rename _PyIter_GetBuiltin to _PyObject_GetBuiltin, and do not include it in t...Antoine Pitrou-1/+1
2012-04-03Issue #14288: Serialization support for builtin iterators.Kristján Valur Jónsson-2/+43
2011-12-16Issue #6695: Full garbage collection runs now clear the freelist of set objects.Antoine Pitrou-2/+10
2011-10-30merge 3.2Benjamin Peterson-1/+1
2011-10-30remove unused variableBenjamin Peterson-1/+1
2011-10-30Fix the return value of set_discard (issue #10519)Petri Lehtinen-2/+3
2011-10-30Fix the return value of set_discard (issue #10519)Petri Lehtinen-2/+3
2011-10-30Avoid unnecessary recursive function calls (#closes #10519)Petri Lehtinen-2/+2
2011-10-30Avoid unnecessary recursive function calls (closes #10519)Petri Lehtinen-2/+2