<?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: PHP optimization tricks</title>
	<atom:link href="http://blog.johnjosephbachir.org/2006/08/11/php-optimization-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.johnjosephbachir.org/2006/08/11/php-optimization-tricks/</link>
	<description>John Joseph Bachir's blog</description>
	<pubDate>Sat, 30 Aug 2008 16:45:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: sanjuro</title>
		<link>http://blog.johnjosephbachir.org/2006/08/11/php-optimization-tricks/#comment-221967</link>
		<dc:creator>sanjuro</dc:creator>
		<pubDate>Wed, 05 Mar 2008 23:22:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjosephbachir.org/324#comment-221967</guid>
		<description>Good article, I learnt a couple of things. The isset / in_array trick works very well, however you have to keep in mind one uses keys and the other values.</description>
		<content:encoded><![CDATA[<p>Good article, I learnt a couple of things. The isset / in_array trick works very well, however you have to keep in mind one uses keys and the other values.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://blog.johnjosephbachir.org/2006/08/11/php-optimization-tricks/#comment-80596</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Wed, 16 Aug 2006 16:44:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjosephbachir.org/324#comment-80596</guid>
		<description>Careful with the in_array / isset swap. I just tried it out on some of my code and found that isset did not correctly work like how in_array does. I couldn't find the problem in the PHP docs. Just make sure to test it 1st.

Even if it worked, however, I'm torn about writing speed-tuned code. PHP should really take care of this for me. Same thing with most of the speed tricks.

APART from all that, however, if I was really hell-bent on speed, I wouldn't be using these nice OO designs and abstraction layers. If I need speed, it's less cost-effective to tune my apps (potentially lowering readability and perhaps breaking later if the assumptions about the language internals are no longer valid) than just hosting on a faster setup.

I'm hungry.</description>
		<content:encoded><![CDATA[<p>Careful with the in_array / isset swap. I just tried it out on some of my code and found that isset did not correctly work like how in_array does. I couldn&#8217;t find the problem in the PHP docs. Just make sure to test it 1st.</p>
<p>Even if it worked, however, I&#8217;m torn about writing speed-tuned code. PHP should really take care of this for me. Same thing with most of the speed tricks.</p>
<p>APART from all that, however, if I was really hell-bent on speed, I wouldn&#8217;t be using these nice OO designs and abstraction layers. If I need speed, it&#8217;s less cost-effective to tune my apps (potentially lowering readability and perhaps breaking later if the assumptions about the language internals are no longer valid) than just hosting on a faster setup.</p>
<p>I&#8217;m hungry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://blog.johnjosephbachir.org/2006/08/11/php-optimization-tricks/#comment-79224</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sat, 12 Aug 2006 20:07:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjosephbachir.org/324#comment-79224</guid>
		<description>ha! you josh, are a perl brat.

are you afraid to install it on the new server because of performance, or security?</description>
		<content:encoded><![CDATA[<p>ha! you josh, are a perl brat.</p>
<p>are you afraid to install it on the new server because of performance, or security?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: josh</title>
		<link>http://blog.johnjosephbachir.org/2006/08/11/php-optimization-tricks/#comment-79219</link>
		<dc:creator>josh</dc:creator>
		<pubDate>Sat, 12 Aug 2006 19:11:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjosephbachir.org/324#comment-79219</guid>
		<description>My favorite trick is to use perl instead - seriously, I'm currently looking for a really cheap place to host the spamgourmet bbs, because I'm afraid to install PHP on the new server.  A little tricky, because the really cheap ones (like godaddy) seem to want to hardcode the host name to start with www (instead of bbs, like I'd like)</description>
		<content:encoded><![CDATA[<p>My favorite trick is to use perl instead - seriously, I&#8217;m currently looking for a really cheap place to host the spamgourmet bbs, because I&#8217;m afraid to install PHP on the new server.  A little tricky, because the really cheap ones (like godaddy) seem to want to hardcode the host name to start with www (instead of bbs, like I&#8217;d like)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
