<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Space vs Time</title>
	<atom:link href="http://daniel.gredler.net/2008/01/26/space-vs-time/feed/" rel="self" type="application/rss+xml" />
	<link>http://daniel.gredler.net/2008/01/26/space-vs-time/</link>
	<description></description>
	<lastBuildDate>Tue, 29 Dec 2009 03:36:29 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dmitry Zhelezov</title>
		<link>http://daniel.gredler.net/2008/01/26/space-vs-time/#comment-625</link>
		<dc:creator>Dmitry Zhelezov</dc:creator>
		<pubDate>Wed, 17 Jun 2009 11:46:07 +0000</pubDate>
		<guid isPermaLink="false">http://gredler.wordpress.com/?p=60#comment-625</guid>
		<description>@Daniel: Actually, performance for HashMap depends on hash function and how often collisions occur. And as I know put() and get() are constant-time only when there are no collisions at all</description>
		<content:encoded><![CDATA[<p>@Daniel: Actually, performance for HashMap depends on hash function and how often collisions occur. And as I know put() and get() are constant-time only when there are no collisions at all</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Gredler</title>
		<link>http://daniel.gredler.net/2008/01/26/space-vs-time/#comment-446</link>
		<dc:creator>Daniel Gredler</dc:creator>
		<pubDate>Wed, 12 Mar 2008 03:41:56 +0000</pubDate>
		<guid isPermaLink="false">http://gredler.wordpress.com/?p=60#comment-446</guid>
		<description>@Hank: That would probably work. The BOs would be declared to have Sets, which in actuality would be PersistentSets, which wrap HashSets, which themselves wrap HashMaps (phew!). But you lose order and bag semantics, which we actually want to keep.

@Blackjack: How do you figure? You&#039;d have to have a single bucket in the HashMap to get O(n log n) performance, no? HashMap guarantees constant-time performance for get() and put(), meaning constant-time performance for containsKey()... meaning O(n) overall performance on average. Am I missing something?</description>
		<content:encoded><![CDATA[<p>@Hank: That would probably work. The BOs would be declared to have Sets, which in actuality would be PersistentSets, which wrap HashSets, which themselves wrap HashMaps (phew!). But you lose order and bag semantics, which we actually want to keep.</p>
<p>@Blackjack: How do you figure? You&#8217;d have to have a single bucket in the HashMap to get O(n log n) performance, no? HashMap guarantees constant-time performance for get() and put(), meaning constant-time performance for containsKey()&#8230; meaning O(n) overall performance on average. Am I missing something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blackjack</title>
		<link>http://daniel.gredler.net/2008/01/26/space-vs-time/#comment-444</link>
		<dc:creator>Blackjack</dc:creator>
		<pubDate>Mon, 03 Mar 2008 08:09:55 +0000</pubDate>
		<guid isPermaLink="false">http://gredler.wordpress.com/?p=60#comment-444</guid>
		<description>Actually, your algo has O(n log n) performance. But that&#039;s also great :)</description>
		<content:encoded><![CDATA[<p>Actually, your algo has O(n log n) performance. But that&#8217;s also great <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hank</title>
		<link>http://daniel.gredler.net/2008/01/26/space-vs-time/#comment-401</link>
		<dc:creator>Hank</dc:creator>
		<pubDate>Sat, 26 Jan 2008 22:03:06 +0000</pubDate>
		<guid isPermaLink="false">http://gredler.wordpress.com/?p=60#comment-401</guid>
		<description>What about using a &lt;code&gt;HashSet&lt;/code&gt; and leveraging &lt;code&gt;addAll()&lt;/code&gt; and &lt;code&gt;retainAll()&lt;/code&gt;?</description>
		<content:encoded><![CDATA[<p>What about using a <code>HashSet</code> and leveraging <code>addAll()</code> and <code>retainAll()</code>?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
