<?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: Optimizing stuff again</title>
	<atom:link href="http://www.colino.net/wordpress/archives/2006/08/25/optimizing-stuff-again/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.colino.net/wordpress/archives/2006/08/25/optimizing-stuff-again/</link>
	<description>news for few, stuff no-one cares about</description>
	<lastBuildDate>Mon, 23 Jan 2012 19:44:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: chat-loupe</title>
		<link>http://www.colino.net/wordpress/archives/2006/08/25/optimizing-stuff-again/comment-page-1/#comment-19843</link>
		<dc:creator>chat-loupe</dc:creator>
		<pubDate>Wed, 30 Aug 2006 16:40:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.colino.net/wordpress-1.5/archives/2006/08/25/optimizing-stuff-again/#comment-19843</guid>
		<description>Il fallait y penser ! Bravo.</description>
		<content:encoded><![CDATA[<p>Il fallait y penser ! Bravo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin</title>
		<link>http://www.colino.net/wordpress/archives/2006/08/25/optimizing-stuff-again/comment-page-1/#comment-19404</link>
		<dc:creator>Colin</dc:creator>
		<pubDate>Fri, 25 Aug 2006 19:37:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.colino.net/wordpress-1.5/archives/2006/08/25/optimizing-stuff-again/#comment-19404</guid>
		<description>Yes - sprintf(&quot;%.2f&quot;, size), for example, used for filling the Size column, is really slow. &quot;%.2f&quot; is a format modifier meaning &quot;float number with two digits after the comma&quot;.

It&#039;s faster to use sprintf(&quot;%d.%d&quot;, a, b) and use a simple integer division to get the part before the comma, then a multiplication of the remainer by the rest, then a re-division to keep one number after the comma. - Faster enough to warrant the hassle !</description>
		<content:encoded><![CDATA[<p>Yes &#8211; sprintf(&#8220;%.2f&#8221;, size), for example, used for filling the Size column, is really slow. &#8220;%.2f&#8221; is a format modifier meaning &#8220;float number with two digits after the comma&#8221;.</p>
<p>It&#8217;s faster to use sprintf(&#8220;%d.%d&#8221;, a, b) and use a simple integer division to get the part before the comma, then a multiplication of the remainer by the rest, then a re-division to keep one number after the comma. &#8211; Faster enough to warrant the hassle !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chat-loupe</title>
		<link>http://www.colino.net/wordpress/archives/2006/08/25/optimizing-stuff-again/comment-page-1/#comment-19402</link>
		<dc:creator>chat-loupe</dc:creator>
		<pubDate>Fri, 25 Aug 2006 19:19:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.colino.net/wordpress-1.5/archives/2006/08/25/optimizing-stuff-again/#comment-19402</guid>
		<description>Youpi ^_^
(even if I don&#039;t understand what you say :-p   %f is slow ?? )</description>
		<content:encoded><![CDATA[<p>Youpi ^_^<br />
(even if I don&#8217;t understand what you say :-p   %f is slow ?? )</p>
]]></content:encoded>
	</item>
</channel>
</rss>

