<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-26619214.post4461410818551978349..comments</id><updated>2010-11-03T08:20:57.926-04:00</updated><category term='tables'/><category term='xml'/><category term='webcontrols'/><category term='csv'/><category term='sql'/><category term='ASP.NET'/><title type='text'>Comments on Ann Lewkowicz: The Joy of HashSets</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.annlewkowicz.com/feeds/4461410818551978349/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26619214/4461410818551978349/comments/default'/><link rel='alternate' type='text/html' href='http://www.annlewkowicz.com/2010/10/joy-of-hashsets.html'/><author><name>Ann</name><uri>http://www.blogger.com/profile/04912097426262293763</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/_IL8bS3nl5pI/TLhd5_0fcxI/AAAAAAAAAAM/I-ghOxBFlQI/S220/Self-portrait.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-26619214.post-3121872046262355449</id><published>2010-11-03T08:20:57.926-04:00</published><updated>2010-11-03T08:20:57.926-04:00</updated><title type='text'>Take care when inserting custom objects that overr...</title><content type='html'>Take care when inserting custom objects that override equals/hashcode into a hashset. If the hashcode on the object changes (&lt;a href="http://stackoverflow.com/questions/462451/gethashcode-guidelines-in-c" rel="nofollow"&gt;even though it&amp;#39;s not supposed to!&lt;/a&gt;) while it is currently stored in the hashset, you can potentially lose you object in the set. Unless the whole set goes out of scope, the &amp;quot;missing&amp;quot; object will fail to be garbage collected too, which can open up a very hard to track down memory leak...&lt;br /&gt;&lt;br /&gt;Be sure to follow custom HashCode&amp;#39;s guidelines &lt;a href="http://imgs.xkcd.com/comics/goto.png" rel="nofollow"&gt;or very bad things will happen&lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26619214/4461410818551978349/comments/default/3121872046262355449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26619214/4461410818551978349/comments/default/3121872046262355449'/><link rel='alternate' type='text/html' href='http://www.annlewkowicz.com/2010/10/joy-of-hashsets.html?showComment=1288786857926#c3121872046262355449' title=''/><author><name>Steve</name><uri>http://www.blogger.com/profile/06609172873690727496</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.annlewkowicz.com/2010/10/joy-of-hashsets.html' ref='tag:blogger.com,1999:blog-26619214.post-4461410818551978349' source='http://www.blogger.com/feeds/26619214/posts/default/4461410818551978349' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1559290939'/></entry><entry><id>tag:blogger.com,1999:blog-26619214.post-8868379688691414452</id><published>2010-11-03T08:16:54.232-04:00</published><updated>2010-11-03T08:16:54.232-04:00</updated><title type='text'></title><content type='html'>This comment has been removed by the author.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26619214/4461410818551978349/comments/default/8868379688691414452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26619214/4461410818551978349/comments/default/8868379688691414452'/><author><name>Steve</name><uri>http://www.blogger.com/profile/06609172873690727496</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.annlewkowicz.com/2010/10/joy-of-hashsets.html' ref='tag:blogger.com,1999:blog-26619214.post-4461410818551978349' source='http://www.blogger.com/feeds/26619214/posts/default/4461410818551978349' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.contentRemoved' value='true'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1559290939'/></entry></feed>
