<?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: Know what to use where</title>
	<atom:link href="http://blog.jorygeerts.com/2007/01/11/know-what-to-use-where/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jorygeerts.com/2007/01/11/know-what-to-use-where/</link>
	<description>Just another WordPress weblog, or something like that</description>
	<lastBuildDate>Sun, 16 May 2010 16:52:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Jeremy Privett</title>
		<link>http://blog.jorygeerts.com/2007/01/11/know-what-to-use-where/comment-page-1/#comment-2693</link>
		<dc:creator>Jeremy Privett</dc:creator>
		<pubDate>Fri, 12 Jan 2007 13:23:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jorygeerts.com/2007/01/11/know-what-to-use-where/#comment-2693</guid>
		<description>&lt;blockquote&gt;Oh, and 19 / 24 = .79, 1.65 / 2 = 0.825, so the relative difference is about the same, don’t you think?&lt;/blockquote&gt;
I forgot to comment on this, but yeah, you&#039;re right. That&#039;s what I get for doing this after only having a few hours of sleep. :P</description>
		<content:encoded><![CDATA[<blockquote><p>Oh, and 19 / 24 = .79, 1.65 / 2 = 0.825, so the relative difference is about the same, don’t you think?</p></blockquote>
<p>I forgot to comment on this, but yeah, you&#8217;re right. That&#8217;s what I get for doing this after only having a few hours of sleep. <img src='http://blog.jorygeerts.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Privett</title>
		<link>http://blog.jorygeerts.com/2007/01/11/know-what-to-use-where/comment-page-1/#comment-2692</link>
		<dc:creator>Jeremy Privett</dc:creator>
		<pubDate>Fri, 12 Jan 2007 13:20:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jorygeerts.com/2007/01/11/know-what-to-use-where/#comment-2692</guid>
		<description>For the test machine, I used my development laptop. A Toshiba Satellite with an Intel Core Duo processor clocking in at 3.2 Ghz with 2 GB of RAM.

I&#039;m actually &lt;strong&gt;&lt;em&gt;surprised&lt;/em&gt;&lt;/strong&gt; that I got that kind of result, considering how loaded down my laptop is constantly with all of my development tools.

Apache / MySQL &amp; IIS / MSSQL are always running, and I usually have both Zend Studio and Visual Studio open at the same time. Not to mention multiple browsers. Microsoft Word, OneNote, and Outlook ... You get the idea. :P</description>
		<content:encoded><![CDATA[<p>For the test machine, I used my development laptop. A Toshiba Satellite with an Intel Core Duo processor clocking in at 3.2 Ghz with 2 GB of RAM.</p>
<p>I&#8217;m actually <strong><em>surprised</em></strong> that I got that kind of result, considering how loaded down my laptop is constantly with all of my development tools.</p>
<p>Apache / MySQL &amp; IIS / MSSQL are always running, and I usually have both Zend Studio and Visual Studio open at the same time. Not to mention multiple browsers. Microsoft Word, OneNote, and Outlook &#8230; You get the idea. <img src='http://blog.jorygeerts.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jory</title>
		<link>http://blog.jorygeerts.com/2007/01/11/know-what-to-use-where/comment-page-1/#comment-2691</link>
		<dc:creator>Jory</dc:creator>
		<pubDate>Fri, 12 Jan 2007 11:44:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jorygeerts.com/2007/01/11/know-what-to-use-where/#comment-2691</guid>
		<description>True, the effects of isset() and array_key_exists() is somewhat different, I should have mentioned that. But as I, and most others, will normally want to know if a $var set to &lt;em&gt;something usefull&lt;/em&gt;, which NULL really isn&#039;t, you&#039;ll just want to use the faster one anyway. Thanks for the heads-up though, I&#039;ll add a note about it. :)

Oh, and 19 / 24 = .79, 1.65 / 2 = 0.825, so the relative difference is about the same, don&#039;t you think? ;)
(btw, with times like that, was are you testing on? :P )</description>
		<content:encoded><![CDATA[<p>True, the effects of isset() and array_key_exists() is somewhat different, I should have mentioned that. But as I, and most others, will normally want to know if a $var set to <em>something usefull</em>, which NULL really isn&#8217;t, you&#8217;ll just want to use the faster one anyway. Thanks for the heads-up though, I&#8217;ll add a note about it. <img src='http://blog.jorygeerts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Oh, and 19 / 24 = .79, 1.65 / 2 = 0.825, so the relative difference is about the same, don&#8217;t you think? <img src='http://blog.jorygeerts.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
(btw, with times like that, was are you testing on? <img src='http://blog.jorygeerts.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Privett</title>
		<link>http://blog.jorygeerts.com/2007/01/11/know-what-to-use-where/comment-page-1/#comment-2685</link>
		<dc:creator>Jeremy Privett</dc:creator>
		<pubDate>Fri, 12 Jan 2007 01:21:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jorygeerts.com/2007/01/11/know-what-to-use-where/#comment-2685</guid>
		<description>Couple of things to take note of:

First, isset() is a language construct and not a function. As such, it&#039;s inherently going to be faster than any related function ever could be.

Second, depending on the functionality you&#039;re looking for, array_key_exists() might be a better choice. If you check out the &lt;a href=&quot;http://www.php.net/manual/en/function.array-key-exists.php&quot; rel=&quot;nofollow&quot;&gt;manual page for array_key_exists()&lt;/a&gt; there&#039;s a section defined specifically to point out the differences between it and isset(). You&#039;ll want to use this to judge which method is most appropriate to use, based on your situation. 9 times out of 10, isset() has been perfect for &lt;strong&gt;&lt;em&gt;my&lt;/em&gt;&lt;/strong&gt; personal needs, though.

As far as the benchmarks go, the margin was considerably smaller for me, because the overall script execution time was only about 2 seconds, but array_key_exists() filled over 1.65 of those 2 seconds.</description>
		<content:encoded><![CDATA[<p>Couple of things to take note of:</p>
<p>First, isset() is a language construct and not a function. As such, it&#8217;s inherently going to be faster than any related function ever could be.</p>
<p>Second, depending on the functionality you&#8217;re looking for, array_key_exists() might be a better choice. If you check out the <a href="http://www.php.net/manual/en/function.array-key-exists.php" rel="nofollow">manual page for array_key_exists()</a> there&#8217;s a section defined specifically to point out the differences between it and isset(). You&#8217;ll want to use this to judge which method is most appropriate to use, based on your situation. 9 times out of 10, isset() has been perfect for <strong><em>my</em></strong> personal needs, though.</p>
<p>As far as the benchmarks go, the margin was considerably smaller for me, because the overall script execution time was only about 2 seconds, but array_key_exists() filled over 1.65 of those 2 seconds.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
