37 Commits (cae101f5ecd8fee38a37ce8fa46c141cd8a522ef)

Author SHA1 Message Date
Raymond Hettinger c5644126a2 Move the set search finger before the smalltable. 11 years ago
Raymond Hettinger a5ebbf6295 Remove unneeded dummy test from the set search loop (when the hashes match we know the key is not a dummy). 11 years ago
Raymond Hettinger 93035c44fd Issue #23119: Simplify setobject by inlining the special case for unicode equality testing. 11 years ago
Raymond Hettinger 1202a4733e Issue 23261: Clean-up the hack to store the set.pop() search finger in a hash field instead of the setobject. 11 years ago
Raymond Hettinger 3f063a54ce Minor comment clean-up 11 years ago
Raymond Hettinger 404a45d91a Neaten-up setobject.h 11 years ago
Raymond Hettinger 8f8839e10a Remove the freelist scheme for setobjects. 12 years ago
Antoine Pitrou 9d95254bb7 Issue #18772: fix the gdb plugin after the set implementation changes 13 years ago
Raymond Hettinger 3c0a4f5def Issue18771: Reduce the cost of hash collisions for set objects. 13 years ago
Raymond Hettinger 536f9fdcf3 Put the most important and most frequency accessed struct member first. 13 years ago
David Malcolm 49526f48fc Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues 14 years ago
Antoine Pitrou 093ce9cd8c Issue #6695: Full garbage collection runs now clear the freelist of set objects. 14 years ago
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 15 years ago
Benjamin Peterson 8f67d0893f make hashes always the size of pointers; introduce Py_hash_t #9778 15 years ago
Antoine Pitrou f72006f442 Merged revisions 84146-84147,84150 via svnmerge from 16 years ago
Antoine Pitrou 671b4d948e Issue #9612: The set object is now 64-bit clean under Windows. 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 16 years ago
Christian Heimes 15ebc88d87 Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552-60567 via svnmerge from 18 years ago
Amaury Forgeot d'Arc 58e185a33b Nasty typo in setobject.h 18 years ago
Amaury Forgeot d'Arc cab3d98ca1 Ensure that PySet_Add() operates on a newly created frozenset, like PyTuple_SetItem does. 18 years ago
Christian Heimes db96789ba7 Fixed r60466 18 years ago
Christian Heimes fd66e51c4c Merged revisions 60383-60407 via svnmerge from 18 years ago
Raymond Hettinger 7759a0cd76 Factor-out common code with a new macro 18 years ago
Christian Heimes 90aa7646af #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. 18 years ago
Christian Heimes e93237dfcc #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 18 years ago
Christian Heimes a22e8bdfd9 Added all PyTypeObjects to the appropriate header files. 18 years ago
Martin v. Löwis 9f2e346911 Merged revisions 56467-56482 via svnmerge from 19 years ago
Martin v. Löwis 6819210b9e PEP 3123: Provide forward compatibility with Python 3.0, while keeping 19 years ago
Guido van Rossum d8faa3654c Merged revisions 53952-54987 via svnmerge from 19 years ago
Raymond Hettinger f94e89c578 Extend work on rev 52962 and 53830 eliminating redundant PyObject_Hash() calls and fixing set/dict interoperability. 19 years ago
Raymond Hettinger 0bbbfc4c0b Extend work on rev 52962 and 53829 eliminating redundant PyObject_Hash() calls and fixing set/dict interoperability. 19 years ago
Thomas Wouters 0e3f591aee Merged revisions 46753-51188 via svnmerge from 20 years ago
Neal Norwitz 0f2783cb4c Use Py_ssize_t 20 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 20 years ago
Barry Warsaw 176014ffad SF patch #1458476 with modifications based on discussions in python-dev. This 20 years ago
Neal Norwitz 8c49c82889 Use Py_ssize_t for PySet_Size() like all the other Py*_Size() functions. 20 years ago
Raymond Hettinger c47e01d020 Numerous fix-ups to C API and docs. Added tests for C API. 21 years ago
Raymond Hettinger beb3101b05 Add a C API for sets and frozensets. 21 years ago
Raymond Hettinger bc841a1464 * Bring in INIT_NONZERO_SET_SLOTS macro from dictionary code. 21 years ago
Raymond Hettinger 67962ab1bb Model set.pop() after dict.popitem(). 21 years ago
Raymond Hettinger d794666048 * Improve code for the empty frozenset singleton: 21 years ago
Raymond Hettinger 9f1a6796eb Revised the set() and frozenset() implementaion to use its own internal 21 years ago
Armin Rigo 89a39461bf Wrote down the invariants of some common objects whose structure is 21 years ago
Raymond Hettinger 691d80532b Make sets and deques weak referencable. 22 years ago
Raymond Hettinger f5f41bf087 * Checkin remaining documentation 22 years ago
Raymond Hettinger 50a4bb325c Various fixups (most suggested by Armin Rigo). 22 years ago
Raymond Hettinger a690a9967e * Migrate set() and frozenset() from the sandbox. 22 years ago