]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
* Improve a variable name: entry0 --> table.
authorRaymond Hettinger <python@rcn.com>
Fri, 5 Aug 2005 17:19:54 +0000 (17:19 +0000)
committerRaymond Hettinger <python@rcn.com>
Fri, 5 Aug 2005 17:19:54 +0000 (17:19 +0000)
commita580c47c6d4acb6bc4323bbf04ab24c4487a67e9
treefaab54a15be1714730664cde770483e6ebb7966e
parenta9d9936d105000a4cd0ca99ab806d1efaebf5a49
* 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().
Objects/setobject.c