<?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: The PHP Benchmark can help you run faster</title>
	<atom:link href="http://blog.sugarenia.com/archives/interesting/the-php-benchmark-can-help-you-run-faster/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.sugarenia.com/archives/interesting/the-php-benchmark-can-help-you-run-faster</link>
	<description>web standards, usability &#38; other girly stuff</description>
	<lastBuildDate>Sun, 11 Dec 2011 11:49:06 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sugar</title>
		<link>http://blog.sugarenia.com/archives/interesting/the-php-benchmark-can-help-you-run-faster/comment-page-1#comment-75660</link>
		<dc:creator>Sugar</dc:creator>
		<pubDate>Sun, 15 Jun 2008 08:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sugarenia.com/?p=412#comment-75660</guid>
		<description>@Peter Uhm, I still see &#039;foreach&#039; giving a +632% overhead in Modify Loops. What did I lose?</description>
		<content:encoded><![CDATA[<p>@Peter Uhm, I still see &#8216;foreach&#8217; giving a +632% overhead in Modify Loops. What did I lose?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://blog.sugarenia.com/archives/interesting/the-php-benchmark-can-help-you-run-faster/comment-page-1#comment-75636</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sun, 15 Jun 2008 06:29:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sugarenia.com/?p=412#comment-75636</guid>
		<description>the &#039;foreach&#039; results are now the fastest.</description>
		<content:encoded><![CDATA[<p>the &#8216;foreach&#8217; results are now the fastest.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sugar</title>
		<link>http://blog.sugarenia.com/archives/interesting/the-php-benchmark-can-help-you-run-faster/comment-page-1#comment-73722</link>
		<dc:creator>Sugar</dc:creator>
		<pubDate>Sat, 07 Jun 2008 09:20:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sugarenia.com/?p=412#comment-73722</guid>
		<description>@nikan 

That&#039;s for the Read Loop, when you just want to traverse an array and do some stuff with its values. Check the Modify Loop, that&#039;s what I meant.</description>
		<content:encoded><![CDATA[<p>@nikan </p>
<p>That&#8217;s for the Read Loop, when you just want to traverse an array and do some stuff with its values. Check the Modify Loop, that&#8217;s what I meant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nikan</title>
		<link>http://blog.sugarenia.com/archives/interesting/the-php-benchmark-can-help-you-run-faster/comment-page-1#comment-73685</link>
		<dc:creator>nikan</dc:creator>
		<pubDate>Sat, 07 Jun 2008 06:15:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sugarenia.com/?p=412#comment-73685</guid>
		<description>You confused me. The conclusion at the phpbench.com is quite the opposite from yours: 

&quot;In all cases I&#039;ve found that the foreach loop is substantially faster than both the while() and for() loop procedures. One thing to note is that when using an entire loop from the start it&#039;s extremely good to use the reset() function in all examples&quot;

What am I (or you) misinterpreting?</description>
		<content:encoded><![CDATA[<p>You confused me. The conclusion at the phpbench.com is quite the opposite from yours: </p>
<p>&#8220;In all cases I&#8217;ve found that the foreach loop is substantially faster than both the while() and for() loop procedures. One thing to note is that when using an entire loop from the start it&#8217;s extremely good to use the reset() function in all examples&#8221;</p>
<p>What am I (or you) misinterpreting?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stelabouras</title>
		<link>http://blog.sugarenia.com/archives/interesting/the-php-benchmark-can-help-you-run-faster/comment-page-1#comment-73632</link>
		<dc:creator>stelabouras</dc:creator>
		<pubDate>Fri, 06 Jun 2008 23:43:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sugarenia.com/?p=412#comment-73632</guid>
		<description>&lt;blockquote&gt;&quot;when coding in a hurry, you’ll pay for it later&quot;&lt;/blockquote&gt;

Indeed, as they say:

&quot;Programming is like sex, one mistake and you have to support it for the rest of your life.&quot;(Michael Sinz) :P</description>
		<content:encoded><![CDATA[<blockquote><p>&#8220;when coding in a hurry, you’ll pay for it later&#8221;</p></blockquote>
<p>Indeed, as they say:</p>
<p>&#8220;Programming is like sex, one mistake and you have to support it for the rest of your life.&#8221;(Michael Sinz) <img src='http://blog.sugarenia.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sugar</title>
		<link>http://blog.sugarenia.com/archives/interesting/the-php-benchmark-can-help-you-run-faster/comment-page-1#comment-73628</link>
		<dc:creator>Sugar</dc:creator>
		<pubDate>Fri, 06 Jun 2008 23:04:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sugarenia.com/?p=412#comment-73628</guid>
		<description>@Vangelis

Also noticed that pre-calculated array lengths, a long-standing optimization for loops, actually have no positive effect in PHP efficiency. Quite a shock too.

I&#039;m right with you on the quick coding bit, but experience has proven us wrong - when coding in a hurry, you&#039;ll pay for it later.

Twitter, anyone? ;)</description>
		<content:encoded><![CDATA[<p>@Vangelis</p>
<p>Also noticed that pre-calculated array lengths, a long-standing optimization for loops, actually have no positive effect in PHP efficiency. Quite a shock too.</p>
<p>I&#8217;m right with you on the quick coding bit, but experience has proven us wrong &#8211; when coding in a hurry, you&#8217;ll pay for it later.</p>
<p>Twitter, anyone? <img src='http://blog.sugarenia.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vangelis</title>
		<link>http://blog.sugarenia.com/archives/interesting/the-php-benchmark-can-help-you-run-faster/comment-page-1#comment-73625</link>
		<dc:creator>Vangelis</dc:creator>
		<pubDate>Fri, 06 Jun 2008 22:47:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sugarenia.com/?p=412#comment-73625</guid>
		<description>That&#039;s old news but nobody cares. By the time you optimize a web application you can get a 2x faster server for the same money. So... Speed of coding not speed of code. Foreach rocks ;)</description>
		<content:encoded><![CDATA[<p>That&#8217;s old news but nobody cares. By the time you optimize a web application you can get a 2x faster server for the same money. So&#8230; Speed of coding not speed of code. Foreach rocks <img src='http://blog.sugarenia.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

