<?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/"
	>
<channel>
	<title>Comments on: Ruby 1.9 Internals: Ordered Hash</title>
	<atom:link href="http://www.igvita.com/2009/02/04/ruby-19-internals-ordered-hash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.igvita.com/2009/02/04/ruby-19-internals-ordered-hash/</link>
	<description>A goal is a dream with a deadline.</description>
	<pubDate>Wed, 10 Mar 2010 01:12:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tokyo Cabinet: Beyond Key-Value Store - igvita.com</title>
		<link>http://www.igvita.com/2009/02/04/ruby-19-internals-ordered-hash/comment-page-1/#comment-222954</link>
		<dc:creator>Tokyo Cabinet: Beyond Key-Value Store - igvita.com</dc:creator>
		<pubDate>Sun, 08 Nov 2009 18:44:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/?p=205#comment-222954</guid>
		<description>[...] us to do prefix and range matching on a key, as well as, traverse the entries in order. (Think Ruby 1.9 ordered hash). Let's look at some [...]</description>
		<content:encoded><![CDATA[<p>[...] us to do prefix and range matching on a key, as well as, traverse the entries in order. (Think Ruby 1.9 ordered hash). Let&#8217;s look at some [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruby Algorithms: Sorting, Trie &#38; Heaps - igvita.com</title>
		<link>http://www.igvita.com/2009/02/04/ruby-19-internals-ordered-hash/comment-page-1/#comment-180163</link>
		<dc:creator>Ruby Algorithms: Sorting, Trie &#38; Heaps - igvita.com</dc:creator>
		<pubDate>Thu, 26 Mar 2009 16:03:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/?p=205#comment-180163</guid>
		<description>[...] are definitely worth exploring for educational value. For those who are curious, take a look at Red-Black Trees and Bloomfilters as [...]</description>
		<content:encoded><![CDATA[<p>[...] are definitely worth exploring for educational value. For those who are curious, take a look at Red-Black Trees and Bloomfilters as [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ilya Grigorik</title>
		<link>http://www.igvita.com/2009/02/04/ruby-19-internals-ordered-hash/comment-page-1/#comment-167272</link>
		<dc:creator>Ilya Grigorik</dc:creator>
		<pubDate>Sun, 08 Feb 2009 16:35:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/?p=205#comment-167272</guid>
		<description>Trans, do you know if there is a 1.9 port of facets underway, or any plans for one?</description>
		<content:encoded><![CDATA[<p>Trans, do you know if there is a 1.9 port of facets underway, or any plans for one?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: trans</title>
		<link>http://www.igvita.com/2009/02/04/ruby-19-internals-ordered-hash/comment-page-1/#comment-166934</link>
		<dc:creator>trans</dc:creator>
		<pubDate>Sat, 07 Feb 2009 14:02:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/?p=205#comment-166934</guid>
		<description>Nice write-up. Concise and informative. Thanks.

I'll note that eventually Facets Dictionary will take advantage of 1.9's ordered hash. Dictionary brings one additional feature to the table, it can keep the dataset in any order, not just insertion order.</description>
		<content:encoded><![CDATA[<p>Nice write-up. Concise and informative. Thanks.</p>
<p>I&#8217;ll note that eventually Facets Dictionary will take advantage of 1.9&#8217;s ordered hash. Dictionary brings one additional feature to the table, it can keep the dataset in any order, not just insertion order.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ilya Grigorik</title>
		<link>http://www.igvita.com/2009/02/04/ruby-19-internals-ordered-hash/comment-page-1/#comment-166564</link>
		<dc:creator>Ilya Grigorik</dc:creator>
		<pubDate>Thu, 05 Feb 2009 23:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/?p=205#comment-166564</guid>
		<description>Josh, I think as Radarek pointed out, I may have unnecessarily put too much emphasis on the speed aspect. In reality, the relative overhead is very low - the speed comment is probably more on the pedantic side.</description>
		<content:encoded><![CDATA[<p>Josh, I think as Radarek pointed out, I may have unnecessarily put too much emphasis on the speed aspect. In reality, the relative overhead is very low - the speed comment is probably more on the pedantic side.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: josh susser</title>
		<link>http://www.igvita.com/2009/02/04/ruby-19-internals-ordered-hash/comment-page-1/#comment-166535</link>
		<dc:creator>josh susser</dc:creator>
		<pubDate>Thu, 05 Feb 2009 17:58:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/?p=205#comment-166535</guid>
		<description>Thanks for this post. I've been wondering for a while how ordering was implemented in the 1.9 hashes. It's clear there has to be *some* cost in both space and speed. I don't know if it's always going to be worth the cost, but it looks like it's probably livable. I wonder how hard it would be to support also having an unordered hash that doesn't maintain order information so it's as fast and small as the old implementation.</description>
		<content:encoded><![CDATA[<p>Thanks for this post. I&#8217;ve been wondering for a while how ordering was implemented in the 1.9 hashes. It&#8217;s clear there has to be *some* cost in both space and speed. I don&#8217;t know if it&#8217;s always going to be worth the cost, but it looks like it&#8217;s probably livable. I wonder how hard it would be to support also having an unordered hash that doesn&#8217;t maintain order information so it&#8217;s as fast and small as the old implementation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Romney</title>
		<link>http://www.igvita.com/2009/02/04/ruby-19-internals-ordered-hash/comment-page-1/#comment-166527</link>
		<dc:creator>Christian Romney</dc:creator>
		<pubDate>Thu, 05 Feb 2009 17:17:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/?p=205#comment-166527</guid>
		<description>I love ordered hash. When you don't care about the order, it doesn't hurt you (performance impact seems negligible). When you do care about the order, it's awesome not to have to call sort_by and work with an array of arrays.</description>
		<content:encoded><![CDATA[<p>I love ordered hash. When you don&#8217;t care about the order, it doesn&#8217;t hurt you (performance impact seems negligible). When you do care about the order, it&#8217;s awesome not to have to call sort_by and work with an array of arrays.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Tsai - Blog - Ordered Hashes in Ruby 1.9</title>
		<link>http://www.igvita.com/2009/02/04/ruby-19-internals-ordered-hash/comment-page-1/#comment-166512</link>
		<dc:creator>Michael Tsai - Blog - Ordered Hashes in Ruby 1.9</dc:creator>
		<pubDate>Thu, 05 Feb 2009 15:58:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/?p=205#comment-166512</guid>
		<description>[...] Ruby 1.9, hash tables preserve insertion order by maintaining a doubly-linked list. This seems like a dubious feature. It only accords with the [...]</description>
		<content:encoded><![CDATA[<p>[...] Ruby 1.9, hash tables preserve insertion order by maintaining a doubly-linked list. This seems like a dubious feature. It only accords with the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sgwong</title>
		<link>http://www.igvita.com/2009/02/04/ruby-19-internals-ordered-hash/comment-page-1/#comment-166483</link>
		<dc:creator>sgwong</dc:creator>
		<pubDate>Thu, 05 Feb 2009 13:34:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/?p=205#comment-166483</guid>
		<description>Ordered Hash is a good thing, I have a lot of time where a want to create a Hash but fail to do so because I can't keep the item ordered.</description>
		<content:encoded><![CDATA[<p>Ordered Hash is a good thing, I have a lot of time where a want to create a Hash but fail to do so because I can&#8217;t keep the item ordered.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gnufied</title>
		<link>http://www.igvita.com/2009/02/04/ruby-19-internals-ordered-hash/comment-page-1/#comment-166460</link>
		<dc:creator>gnufied</dc:creator>
		<pubDate>Thu, 05 Feb 2009 12:05:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/?p=205#comment-166460</guid>
		<description>There is another project:

http://github.com/kanwei/algorithms/tree/master

Which was developed as Google summer of code. It includes pure ruby and C implementation of various algorithms.</description>
		<content:encoded><![CDATA[<p>There is another project:</p>
<p><a href="http://github.com/kanwei/algorithms/tree/master" rel="nofollow">http://github.com/kanwei/algorithms/tree/master</a></p>
<p>Which was developed as Google summer of code. It includes pure ruby and C implementation of various algorithms.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
