<?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: 454 sequencing and parsing the SFF binary format</title>
	<atom:link href="http://blog.malde.org/index.php/2008/11/14/454-sequencing-and-parsing-the-sff-binary-format/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.malde.org/index.php/2008/11/14/454-sequencing-and-parsing-the-sff-binary-format/</link>
	<description>bioinformatics and haskell</description>
	<lastBuildDate>Sun, 04 Jul 2010 19:06:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: sof</title>
		<link>http://blog.malde.org/index.php/2008/11/14/454-sequencing-and-parsing-the-sff-binary-format/comment-page-1/#comment-137</link>
		<dc:creator>sof</dc:creator>
		<pubDate>Sun, 16 Nov 2008 17:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.malde.org/index.php/2008/11/14/454-sequencing-and-parsing-the-sff-binary-format/#comment-137</guid>
		<description>Yes, a wibble :) That&#039;s good to know and sign of GHC doing its job well, but to remove the doubt, doing it manually has its merit (beyond code clarity.)</description>
		<content:encoded><![CDATA[<p>Yes, a wibble <img src='http://blog.malde.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  That&#8217;s good to know and sign of GHC doing its job well, but to remove the doubt, doing it manually has its merit (beyond code clarity.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ketil</title>
		<link>http://blog.malde.org/index.php/2008/11/14/454-sequencing-and-parsing-the-sff-binary-format/comment-page-1/#comment-136</link>
		<dc:creator>ketil</dc:creator>
		<pubDate>Sat, 15 Nov 2008 18:14:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.malde.org/index.php/2008/11/14/454-sequencing-and-parsing-the-sff-binary-format/#comment-136</guid>
		<description>Yes, I should have thought of that.  Just tried it, but it doesn&#039;t make any difference to performance, so I guess GHC is already doing the right thing here.  Still, I think the code is clearer, so I kept your suggestion.  Thanks!</description>
		<content:encoded><![CDATA[<p>Yes, I should have thought of that.  Just tried it, but it doesn&#8217;t make any difference to performance, so I guess GHC is already doing the right thing here.  Still, I think the code is clearer, so I kept your suggestion.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sof</title>
		<link>http://blog.malde.org/index.php/2008/11/14/454-sequencing-and-parsing-the-sff-binary-format/comment-page-1/#comment-135</link>
		<dc:creator>sof</dc:creator>
		<pubDate>Sat, 15 Nov 2008 16:51:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.malde.org/index.php/2008/11/14/454-sequencing-and-parsing-the-sff-binary-format/#comment-135</guid>
		<description>Nice writeup of optimisation steps &amp; reasoning. Simple improvement to &#039;showread&#039; would be to manually deforest using zipWith3:

showread :: CommonHeader -&gt; ReadBlock -&gt; [ByteString]
showread h rd = 
   zipWith3 (\ p c v -&gt;
               B.concat [ rn,t,B.pack (show p),t
                        , B.cons c t,fi v])
            [(1::Int)..]
            (unpack $ flow h)
            (flowgram rd)
 where
    rn = read_name $ read_header rd</description>
		<content:encoded><![CDATA[<p>Nice writeup of optimisation steps &amp; reasoning. Simple improvement to &#8217;showread&#8217; would be to manually deforest using zipWith3:</p>
<p>showread :: CommonHeader -&gt; ReadBlock -&gt; [ByteString]<br />
showread h rd =<br />
   zipWith3 (\ p c v -&gt;<br />
               B.concat [ rn,t,B.pack (show p),t<br />
                        , B.cons c t,fi v])<br />
            [(1::Int)..]<br />
            (unpack $ flow h)<br />
            (flowgram rd)<br />
 where<br />
    rn = read_name $ read_header rd</p>
]]></content:encoded>
	</item>
</channel>
</rss>
