<?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"
	>
<channel>
	<title>Comments on: One More Erlang Wide Finder</title>
	<atom:link href="http://steve.vinoski.net/blog/2007/10/14/one-more-erlang-wide-finder/feed/" rel="self" type="application/rss+xml" />
	<link>http://steve.vinoski.net/blog/2007/10/14/one-more-erlang-wide-finder/</link>
	<description>Ask forgiveness, not permission.</description>
	<pubDate>Sun, 07 Sep 2008 17:36:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Matt</title>
		<link>http://steve.vinoski.net/blog/2007/10/14/one-more-erlang-wide-finder/#comment-154</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 22 Oct 2007 11:22:27 +0000</pubDate>
		<guid isPermaLink="false">http://steve.vinoski.net/blog/2007/10/14/one-more-erlang-wide-finder/#comment-154</guid>
		<description>Good stuff.  I've just started digging into Erlang, and have been doing tons of random code-reviews at work ;-)

It is interesting to see the work you are doing with Erlang.  Keep it up!</description>
		<content:encoded><![CDATA[<p>Good stuff.  I&#8217;ve just started digging into Erlang, and have been doing tons of random code-reviews at work ;-)</p>
<p>It is interesting to see the work you are doing with Erlang.  Keep it up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steve</title>
		<link>http://steve.vinoski.net/blog/2007/10/14/one-more-erlang-wide-finder/#comment-151</link>
		<dc:creator>steve</dc:creator>
		<pubDate>Sun, 21 Oct 2007 15:15:52 +0000</pubDate>
		<guid isPermaLink="false">http://steve.vinoski.net/blog/2007/10/14/one-more-erlang-wide-finder/#comment-151</guid>
		<description>Or better yet, see &lt;a href="/code/tbray16.erl" rel="nofollow"&gt;tbray16.erl&lt;/a&gt; and &lt;a href="/code/wfbm4.erl" rel="nofollow"&gt;wfbm4.erl&lt;/a&gt; &#8212; &lt;a href="/blog/2007/10/21/faster-wf-still/" rel="nofollow"&gt;they're faster than everything else I've posted to date&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Or better yet, see <a href="/code/tbray16.erl" rel="nofollow">tbray16.erl</a> and <a href="/code/wfbm4.erl" rel="nofollow">wfbm4.erl</a> &mdash; <a href="/blog/2007/10/21/faster-wf-still/" rel="nofollow">they&#8217;re faster than everything else I&#8217;ve posted to date</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steve</title>
		<link>http://steve.vinoski.net/blog/2007/10/14/one-more-erlang-wide-finder/#comment-150</link>
		<dc:creator>steve</dc:creator>
		<pubDate>Sun, 21 Oct 2007 04:44:53 +0000</pubDate>
		<guid isPermaLink="false">http://steve.vinoski.net/blog/2007/10/14/one-more-erlang-wide-finder/#comment-150</guid>
		<description>Matt: in my previous comment I was wrong that the bug you found didn't affect the results. It required another fix as well, which decreases the performance of this solution by about 50%, which obviously is significant. Thus, all the more reason to go with the newer &lt;a href="/code/tbray15.erl" rel="nofollow"&gt;tbray15.erl&lt;/a&gt; and &lt;a href="/code/wfbm3.erl" rel="nofollow"&gt;wfbm3.erl&lt;/a&gt; as mentioned in the previous comment.</description>
		<content:encoded><![CDATA[<p>Matt: in my previous comment I was wrong that the bug you found didn&#8217;t affect the results. It required another fix as well, which decreases the performance of this solution by about 50%, which obviously is significant. Thus, all the more reason to go with the newer <a href="/code/tbray15.erl" rel="nofollow">tbray15.erl</a> and <a href="/code/wfbm3.erl" rel="nofollow">wfbm3.erl</a> as mentioned in the previous comment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steve</title>
		<link>http://steve.vinoski.net/blog/2007/10/14/one-more-erlang-wide-finder/#comment-149</link>
		<dc:creator>steve</dc:creator>
		<pubDate>Sun, 21 Oct 2007 01:38:01 +0000</pubDate>
		<guid isPermaLink="false">http://steve.vinoski.net/blog/2007/10/14/one-more-erlang-wide-finder/#comment-149</guid>
		<description>Matt: a most excellent catch. Yes, that is a typo. It's funny &#8212; I stared at that a few times because it looked funny, and yet never caught it.

For this test case, it doesn't change the results or the performance. Comparisons are not done against that string; it's used only to find shift values for advancing through the file. For the o1000k.ap dataset, it doesn't matter because you get the same answer either way.

I've fixed this in the posted &lt;a href="/code/wfbm.erl" rel="nofollow"&gt;wfbm.erl file&lt;/a&gt;. But you want to grab &lt;a href="/code/tbray15.erl" rel="nofollow"&gt;tbray15.erl&lt;/a&gt; and &lt;a href="/code/wfbm3.erl" rel="nofollow"&gt;wfbm3.erl&lt;/a&gt; instead anyway; &lt;a href="/blog/2007/10/18/ok-just-one-more-wf/" rel="nofollow"&gt;they're about 50% faster&lt;/a&gt;.

Thanks, Matt!</description>
		<content:encoded><![CDATA[<p>Matt: a most excellent catch. Yes, that is a typo. It&#8217;s funny &mdash; I stared at that a few times because it looked funny, and yet never caught it.</p>
<p>For this test case, it doesn&#8217;t change the results or the performance. Comparisons are not done against that string; it&#8217;s used only to find shift values for advancing through the file. For the o1000k.ap dataset, it doesn&#8217;t matter because you get the same answer either way.</p>
<p>I&#8217;ve fixed this in the posted <a href="/code/wfbm.erl" rel="nofollow">wfbm.erl file</a>. But you want to grab <a href="/code/tbray15.erl" rel="nofollow">tbray15.erl</a> and <a href="/code/wfbm3.erl" rel="nofollow">wfbm3.erl</a> instead anyway; <a href="/blog/2007/10/18/ok-just-one-more-wf/" rel="nofollow">they&#8217;re about 50% faster</a>.</p>
<p>Thanks, Matt!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://steve.vinoski.net/blog/2007/10/14/one-more-erlang-wide-finder/#comment-147</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Sat, 20 Oct 2007 22:40:15 +0000</pubDate>
		<guid isPermaLink="false">http://steve.vinoski.net/blog/2007/10/14/one-more-erlang-wide-finder/#comment-147</guid>
		<description>Quick question:

Is this a typo?

-define(STR, "GET /ongoing/When").
-define(REVSTR, "mehW/gniogno/ TEG").

"mehW" != "When" reversed because "m" != "n". If you really are doing a comparison with REVSTR, I'd expect it to fail the match every time.</description>
		<content:encoded><![CDATA[<p>Quick question:</p>
<p>Is this a typo?</p>
<p>-define(STR, &#8220;GET /ongoing/When&#8221;).<br />
-define(REVSTR, &#8220;mehW/gniogno/ TEG&#8221;).</p>
<p>&#8220;mehW&#8221; != &#8220;When&#8221; reversed because &#8220;m&#8221; != &#8220;n&#8221;. If you really are doing a comparison with REVSTR, I&#8217;d expect it to fail the match every time.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
