<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Tips for faster PHP scripts</title>
	<link>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/</link>
	<description>About making the web a useful and interactive experience</description>
	<pubDate>Wed, 20 Aug 2008 11:03:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Mike</title>
		<link>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/#comment-5348</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 29 May 2008 15:21:28 +0000</pubDate>
		<guid>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/#comment-5348</guid>
		<description>How about some optimizations that really matter? .4 seconds over 50,000,000 iterations would save Wikipedia an average of .4 seconds per day.

Now, the average page load time for Wikipedia is 1.9 seconds.

Saving .4 seconds over the day means each user will save .000000008 seconds.

Noticeable? No.

Another way to look at it is at their current rate, by saving .4 seconds per day, they get one additional page load every 5 days for the same exact amount of processing time it took them to do it otherwise.

Now put that into a script being written and run for joe schmoe developer who's site gets 12,000 hits per year. It'll take that site 41,666 years to see that same .4 second save in time.</description>
		<content:encoded><![CDATA[<p>How about some optimizations that really matter? .4 seconds over 50,000,000 iterations would save Wikipedia an average of .4 seconds per day.</p>
<p>Now, the average page load time for Wikipedia is 1.9 seconds.</p>
<p>Saving .4 seconds over the day means each user will save .000000008 seconds.</p>
<p>Noticeable? No.</p>
<p>Another way to look at it is at their current rate, by saving .4 seconds per day, they get one additional page load every 5 days for the same exact amount of processing time it took them to do it otherwise.</p>
<p>Now put that into a script being written and run for joe schmoe developer who&#039;s site gets 12,000 hits per year. It&#039;ll take that site 41,666 years to see that same .4 second save in time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tobto</title>
		<link>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/#comment-4522</link>
		<dc:creator>tobto</dc:creator>
		<pubDate>Mon, 12 May 2008 09:44:18 +0000</pubDate>
		<guid>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/#comment-4522</guid>
		<description>nice post - gives smart ideas for developing - thx!</description>
		<content:encoded><![CDATA[<p>nice post - gives smart ideas for developing - thx!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Consigli per script PHP più veloci</title>
		<link>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/#comment-3712</link>
		<dc:creator>Consigli per script PHP più veloci</dc:creator>
		<pubDate>Mon, 21 Apr 2008 19:51:19 +0000</pubDate>
		<guid>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/#comment-3712</guid>
		<description>[...] ho deciso di prendere spunto da tre articoli che trovai tempo fa su come ottimizzare la scrittura di codice PHP, verificare, e [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] ho deciso di prendere spunto da tre articoli che trovai tempo fa su come ottimizzare la scrittura di codice PHP, verificare, e [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dicas para um PHP mais veloz &#171; DUODRACO</title>
		<link>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/#comment-3377</link>
		<dc:creator>Dicas para um PHP mais veloz &#171; DUODRACO</dc:creator>
		<pubDate>Sat, 12 Apr 2008 16:49:36 +0000</pubDate>
		<guid>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/#comment-3377</guid>
		<description>[...] tips-for-faster-php-scripts more tips for faster php scripts even more tips for faster php script [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] tips-for-faster-php-scripts more tips for faster php scripts even more tips for faster php script [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sanjuro</title>
		<link>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/#comment-2815</link>
		<dc:creator>sanjuro</dc:creator>
		<pubDate>Thu, 20 Mar 2008 16:03:36 +0000</pubDate>
		<guid>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/#comment-2815</guid>
		<description>Nice tips, the first one surprised me. Is it true that assigning concatenated strings to a variable and then calling it with echo is faster than echoing them directly ?</description>
		<content:encoded><![CDATA[<p>Nice tips, the first one surprised me. Is it true that assigning concatenated strings to a variable and then calling it with echo is faster than echoing them directly ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaisen</title>
		<link>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/#comment-2278</link>
		<dc:creator>Jaisen</dc:creator>
		<pubDate>Sat, 01 Mar 2008 18:44:00 +0000</pubDate>
		<guid>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/#comment-2278</guid>
		<description>@Dave, a 3rd comparison should be

$world = 'world';
echo('Hello ',$world,' !');

Since using commas doesn't require PHP to do any concatenation and just passes 3 parameters to echo.</description>
		<content:encoded><![CDATA[<p>@Dave, a 3rd comparison should be</p>
<p>$world = &#039;world&#039;;<br />
echo(&#039;Hello &#039;,$world,&#039; !&#039;);</p>
<p>Since using commas doesn&#039;t require PHP to do any concatenation and just passes 3 parameters to echo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 10 more tips to make your PHP application scream - Part 2 of N :: Jaisen Mathai</title>
		<link>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/#comment-2261</link>
		<dc:creator>10 more tips to make your PHP application scream - Part 2 of N :: Jaisen Mathai</dc:creator>
		<pubDate>Sat, 01 Mar 2008 09:53:00 +0000</pubDate>
		<guid>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/#comment-2261</guid>
		<description>[...] http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/ [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] <a href="http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/" rel="nofollow">http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/</a> [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/#comment-2102</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 26 Feb 2008 22:44:18 +0000</pubDate>
		<guid>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/#comment-2102</guid>
		<description>As far as single-quote string versus double-quote strings are concerned, I'd be interested in seeing the difference between:

$world = 'world';
echo("Hello $world !");

and:

$world = 'world';
echo('Hello '.$world.' !');

I strongly suspect that there would be very little difference between them but you just can't be sure until you have actually tried it.</description>
		<content:encoded><![CDATA[<p>As far as single-quote string versus double-quote strings are concerned, I&#039;d be interested in seeing the difference between:</p>
<p>$world = &#039;world&#039;;<br />
echo(&#034;Hello $world !&#034;);</p>
<p>and:</p>
<p>$world = &#039;world&#039;;<br />
echo(&#039;Hello &#039;.$world.&#039; !&#039;);</p>
<p>I strongly suspect that there would be very little difference between them but you just can&#039;t be sure until you have actually tried it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Веб-обзор #11: Silverlight 2, стартапы, как создавали успешные проекты и типология социальных проектов. &#124; Alpha-Beta-Release Blog</title>
		<link>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/#comment-2020</link>
		<dc:creator>Веб-обзор #11: Silverlight 2, стартапы, как создавали успешные проекты и типология социальных проектов. &#124; Alpha-Beta-Release Blog</dc:creator>
		<pubDate>Mon, 25 Feb 2008 12:13:30 +0000</pubDate>
		<guid>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/#comment-2020</guid>
		<description>[...] Tips for faster PHP Scripts - сборник в трёх частях (2 и 3) различных небольших приёмов и техник для повышения производительности ваших РНР скриптов, причём это не только банальные приходящие на ум сразу решения, но и тонкости, вроде отличия функций проверки типов (is_numeric или ctype_digit). Совтую прочитать, конечно, десятки процентов увеличения производительности вы сразу не получите, но вполне возможно, что от многих узких мест можно избавится или хоть бы сгладить их влияние. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Tips for faster PHP Scripts - сборник в трёх частях (2 и 3) различных небольших приёмов и техник для повышения производительности ваших РНР скриптов, причём это не только банальные приходящие на ум сразу решения, но и тонкости, вроде отличия функций проверки типов (is_numeric или ctype_digit). Совтую прочитать, конечно, десятки процентов увеличения производительности вы сразу не получите, но вполне возможно, что от многих узких мест можно избавится или хоть бы сгладить их влияние. [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richy&#8217;s Random Ramblings / PHP: Making faster PHP scripts</title>
		<link>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/#comment-1702</link>
		<dc:creator>Richy&#8217;s Random Ramblings / PHP: Making faster PHP scripts</dc:creator>
		<pubDate>Mon, 18 Feb 2008 18:25:35 +0000</pubDate>
		<guid>http://bitfilm.net/2007/08/24/tips-for-faster-php-scripts/#comment-1702</guid>
		<description>[...] Page one [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Page one [&#8230;]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
