commit | a580c47c6d4acb6bc4323bbf04ab24c4487a67e9 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Fri Aug 05 17:19:54 2005 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Fri Aug 05 17:19:54 2005 +0000 |
tree | faab54a15be1714730664cde770483e6ebb7966e | |
parent | a9d9936d105000a4cd0ca99ab806d1efaebf5a49 [diff] |
* 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().