<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/setobject.c, branch v2.4b2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/setobject.c?h=v2.4b2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/setobject.c?h=v2.4b2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-09-28T01:51:35Z</updated>
<entry>
<title>Use Py_CLEAR().  Add unrelated test.</title>
<updated>2004-09-28T01:51:35Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-09-28T01:51:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6429a4727e4bb8bcb0d3deefaefe195e63e6bb6e'/>
<id>urn:sha1:6429a4727e4bb8bcb0d3deefaefe195e63e6bb6e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Moved SunPro warning suppression into pyport.h and out of individual</title>
<updated>2004-07-15T15:54:05Z</updated>
<author>
<name>Nicholas Bastin</name>
<email>nick.bastin@gmail.com</email>
</author>
<published>2004-07-15T15:54:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9ba301e589b47af776294804240cc10e08e38498'/>
<id>urn:sha1:9ba301e589b47af776294804240cc10e08e38498</id>
<content type='text'>
modules and objects.
</content>
</entry>
<entry>
<title>Fixed end-of-loop code not reached warning when using SunPro C</title>
<updated>2004-06-17T18:27:18Z</updated>
<author>
<name>Nicholas Bastin</name>
<email>nick.bastin@gmail.com</email>
</author>
<published>2004-06-17T18:27:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1ce9e4cfc1b4bb48c209ee23e5454efdcb9ef234'/>
<id>urn:sha1:1ce9e4cfc1b4bb48c209ee23e5454efdcb9ef234</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove a function no longer in use.</title>
<updated>2004-06-14T04:24:41Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-06-14T04:24:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=148a63f1fc271a1abe0cd06dd3fac0bb57131b73'/>
<id>urn:sha1:148a63f1fc271a1abe0cd06dd3fac0bb57131b73</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unnecessary GC support.  Sets cannot have cycles.</title>
<updated>2004-06-13T08:20:46Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-06-13T08:20:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=47edb4b09ce4694e5585497581a1a0e7e047e393'/>
<id>urn:sha1:47edb4b09ce4694e5585497581a1a0e7e047e393</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Futher improvements to frozenset hashing (based on Yitz Gale's battery of</title>
<updated>2004-06-10T22:41:48Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-06-10T22:41:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c978633ec6e6562a748057e727737cb1446e015d'/>
<id>urn:sha1:c978633ec6e6562a748057e727737cb1446e015d</id>
<content type='text'>
tests which nicely highly highlight weaknesses).

* Initial value is now a large prime.
* Pre-multiply by the set length to add one more basis of differentiation.
* Work a bit harder inside the loop to scatter bits from sources that
  may have closely spaced hash values.

All of this is necessary to make up for keep the hash function commutative.
Fortunately, the hash value is cached so the call to frozenset_hash() will
only occur once per set.
</content>
</entry>
<entry>
<title>Fixups to the hash function for frozensets.</title>
<updated>2004-06-10T21:38:41Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-06-10T21:38:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=27e403ebe914294d307348d2b83c39f96059e133'/>
<id>urn:sha1:27e403ebe914294d307348d2b83c39f96059e133</id>
<content type='text'>
* Non-zero initial value so that hash(frozenset()) != hash(0).
* Final permutation to differentiate nested sets.
* Add logic to make sure that -1 is not a possible hash value.
</content>
</entry>
<entry>
<title>Make sets and deques weak referencable.</title>
<updated>2004-05-30T07:26:47Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-05-30T07:26:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=691d80532b0a0204e92de35ecba1472d87af6e94'/>
<id>urn:sha1:691d80532b0a0204e92de35ecba1472d87af6e94</id>
<content type='text'>
</content>
</entry>
<entry>
<title>The copy module now handles sets directly.  The __copy__ methods are no</title>
<updated>2004-03-08T18:31:10Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-03-08T18:31:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3fd500b4a5a49b2844f0c9cd64a663fd0f6eb2f1'/>
<id>urn:sha1:3fd500b4a5a49b2844f0c9cd64a663fd0f6eb2f1</id>
<content type='text'>
longer needed.
</content>
</entry>
<entry>
<title>* Simplify and speedup logic for tp_print.</title>
<updated>2003-12-31T14:08:58Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-12-31T14:08:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a3b11e7fb3552bf9a73ba31cda30b9c0f342cb5c'/>
<id>urn:sha1:a3b11e7fb3552bf9a73ba31cda30b9c0f342cb5c</id>
<content type='text'>
* Speed-up intersection whenever PyDict_Next can be used.
</content>
</entry>
</feed>
