summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2005-08-05 17:19:54 (GMT)
committerRaymond Hettinger <python@rcn.com>2005-08-05 17:19:54 (GMT)
commita580c47c6d4acb6bc4323bbf04ab24c4487a67e9 (patch)
treefaab54a15be1714730664cde770483e6ebb7966e /Lib
parenta9d9936d105000a4cd0ca99ab806d1efaebf5a49 (diff)
downloadcpython-a580c47c6d4acb6bc4323bbf04ab24c4487a67e9.zip
cpython-a580c47c6d4acb6bc4323bbf04ab24c4487a67e9.tar.gz
cpython-a580c47c6d4acb6bc4323bbf04ab24c4487a67e9.tar.bz2
* Improve a variable name: entry0 --> table.
* Give set_lookkey_string() a fast alternate path when no dummy entries are present. * Have set_swap_bodies() reset the hash field to -1 whenever either of bodies is not a frozenset. Maintains the invariant of regular sets always having -1 in the hash field; otherwise, any mutation would make the hash value invalid. * Use an entry pointer to simplify the code in frozenset_hash().
Diffstat (limited to 'Lib')
0 files changed, 0 insertions, 0 deletions