<?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: Build Huffman Compression in Ruby</title>
	<atom:link href="http://jrepp.com/2008/01/08/build-huffman-compression-in-ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://jrepp.com/2008/01/08/build-huffman-compression-in-ruby/</link>
	<description>Game programming, music and life</description>
	<lastBuildDate>Thu, 06 Aug 2009 01:51:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Zack Fonde</title>
		<link>http://jrepp.com/2008/01/08/build-huffman-compression-in-ruby/comment-page-1/#comment-1574</link>
		<dc:creator>Zack Fonde</dc:creator>
		<pubDate>Tue, 17 Jun 2008 05:50:44 +0000</pubDate>
		<guid isPermaLink="false">http://jrepp.com/2008/01/08/build-huffman-compression-in-ruby/#comment-1574</guid>
		<description>&lt;p&gt;forgot to mention....
The mainly slow part in my Lisp code is the writing of binary bytes....which I think could be improved if there is some sort of buffering where big chunks are written at once..&lt;/p&gt;

&lt;p&gt;Could this be the issue with your code?&lt;/p&gt;

&lt;p&gt;Regars&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>forgot to mention&#8230;.
The mainly slow part in my Lisp code is the writing of binary bytes&#8230;.which I think could be improved if there is some sort of buffering where big chunks are written at once..</p>

<p>Could this be the issue with your code?</p>

<p>Regars</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Zack Fonde</title>
		<link>http://jrepp.com/2008/01/08/build-huffman-compression-in-ruby/comment-page-1/#comment-1572</link>
		<dc:creator>Zack Fonde</dc:creator>
		<pubDate>Tue, 17 Jun 2008 05:20:44 +0000</pubDate>
		<guid isPermaLink="false">http://jrepp.com/2008/01/08/build-huffman-compression-in-ruby/#comment-1572</guid>
		<description>&lt;p&gt;Very interesting, I&#039;m new to Ruby and frankly it amazes me with its elegance...
I ran your code with larger text (128 KB) and it seems to go forever, now 
I had a similar issue when I wrote a huffman coding/enconding in Lisp before, I had the intention of visiting it again to improve on it but that never happened.&lt;/p&gt;

&lt;p&gt;I&#039;m wondering if you know where the bottle neck is here in your code, what could we do to improve the efficiency...I&#039;ll make this an exercise for me to learn more about Ruby, but would appreciate pointers from you also...&lt;/p&gt;

&lt;p&gt;Thank you&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Very interesting, I&#8217;m new to Ruby and frankly it amazes me with its elegance&#8230;
I ran your code with larger text (128 KB) and it seems to go forever, now 
I had a similar issue when I wrote a huffman coding/enconding in Lisp before, I had the intention of visiting it again to improve on it but that never happened.</p>

<p>I&#8217;m wondering if you know where the bottle neck is here in your code, what could we do to improve the efficiency&#8230;I&#8217;ll make this an exercise for me to learn more about Ruby, but would appreciate pointers from you also&#8230;</p>

<p>Thank you</p>]]></content:encoded>
	</item>
	<item>
		<title>By: proj</title>
		<link>http://jrepp.com/2008/01/08/build-huffman-compression-in-ruby/comment-page-1/#comment-1095</link>
		<dc:creator>proj</dc:creator>
		<pubDate>Tue, 08 Jan 2008 09:22:40 +0000</pubDate>
		<guid isPermaLink="false">http://jrepp.com/2008/01/08/build-huffman-compression-in-ruby/#comment-1095</guid>
		<description>&lt;p&gt;Akita, thank you. Keep up the great work on your site!&lt;/p&gt;

&lt;p&gt;Nitpicker, I didn&#039;t implement the weight sorting as you point out. I&#039;ll look for an elegant way to approach that tomorrow. Sounds like you already solved that particular issue. Well done.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Akita, thank you. Keep up the great work on your site!</p>

<p>Nitpicker, I didn&#8217;t implement the weight sorting as you point out. I&#8217;ll look for an elegant way to approach that tomorrow. Sounds like you already solved that particular issue. Well done.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Nitpicker</title>
		<link>http://jrepp.com/2008/01/08/build-huffman-compression-in-ruby/comment-page-1/#comment-1094</link>
		<dc:creator>Nitpicker</dc:creator>
		<pubDate>Tue, 08 Jan 2008 08:14:41 +0000</pubDate>
		<guid isPermaLink="false">http://jrepp.com/2008/01/08/build-huffman-compression-in-ruby/#comment-1094</guid>
		<description>&lt;p&gt;I&#039;m pretty sure your implementation is wrong. It should be 312.625 bytes. The reason why it is wrong is because you don&#039;t always combine the nodes with the two lowest frequencies (the interior Array should be ordered).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;m pretty sure your implementation is wrong. It should be 312.625 bytes. The reason why it is wrong is because you don&#8217;t always combine the nodes with the two lowest frequencies (the interior Array should be ordered).</p>]]></content:encoded>
	</item>
	<item>
		<title>By: AkitaOnRails</title>
		<link>http://jrepp.com/2008/01/08/build-huffman-compression-in-ruby/comment-page-1/#comment-1091</link>
		<dc:creator>AkitaOnRails</dc:creator>
		<pubDate>Tue, 08 Jan 2008 04:56:58 +0000</pubDate>
		<guid isPermaLink="false">http://jrepp.com/2008/01/08/build-huffman-compression-in-ruby/#comment-1091</guid>
		<description>&lt;p&gt;Very interesting! There&#039;s been more than a decade since I first implemented Huffman as a college exercise in Pascal. It is good to see it done in Ruby once again. Programmers have to understand the importance of algorithm study. Kudos for bringing this up.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Very interesting! There&#8217;s been more than a decade since I first implemented Huffman as a college exercise in Pascal. It is good to see it done in Ruby once again. Programmers have to understand the importance of algorithm study. Kudos for bringing this up.</p>]]></content:encoded>
	</item>
</channel>
</rss>
