<?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: JavaScript Perfromance Tip- Don&#8217;t Test Against obj.length. Test Against a Local Variable.</title>
	<atom:link href="http://htmlcssjavascript.com/javascript/javascript-perfromance-tip-dont-test-against-obj-length-test-against-a-local-variable/feed/" rel="self" type="application/rss+xml" />
	<link>http://htmlcssjavascript.com/javascript/javascript-perfromance-tip-dont-test-against-obj-length-test-against-a-local-variable/</link>
	<description>Not a Ninja, Pirate or Jedi.</description>
	<lastBuildDate>Tue, 31 Jan 2012 11:08:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: The JavaScript NodeList and You. Watch Where You Point That Thing, Soldier &#187; HTML + CSS + JavaScript &#187; Blog Archive</title>
		<link>http://htmlcssjavascript.com/javascript/javascript-perfromance-tip-dont-test-against-obj-length-test-against-a-local-variable/#comment-127</link>
		<dc:creator>The JavaScript NodeList and You. Watch Where You Point That Thing, Soldier &#187; HTML + CSS + JavaScript &#187; Blog Archive</dc:creator>
		<pubDate>Tue, 03 Nov 2009 21:52:28 +0000</pubDate>
		<guid isPermaLink="false">http://htmlcssjavascript.com/?p=200#comment-127</guid>
		<description>[...] I wrote about the performance issue previously.  The basic gist is that with a DOM method that returns a NodeList the lookup is performed every time it&#8217;s referenced. So even if you assigned it to a variable, you&#8217;re not actually saving anything- it still has to examine the document every time. That&#8217;s expensive. [...]</description>
		<content:encoded><![CDATA[<p>[...] I wrote about the performance issue previously.  The basic gist is that with a DOM method that returns a NodeList the lookup is performed every time it&#8217;s referenced. So even if you assigned it to a variable, you&#8217;re not actually saving anything- it still has to examine the document every time. That&#8217;s expensive. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Larsen</title>
		<link>http://htmlcssjavascript.com/javascript/javascript-perfromance-tip-dont-test-against-obj-length-test-against-a-local-variable/#comment-58</link>
		<dc:creator>Rob Larsen</dc:creator>
		<pubDate>Thu, 03 Sep 2009 12:03:26 +0000</pubDate>
		<guid isPermaLink="false">http://htmlcssjavascript.com/?p=200#comment-58</guid>
		<description>That&#039;s a great page. The &lt;code&gt;i--&lt;/code&gt; stuff is interesting to me. maybe another post? I feel like that idea needs a little more explaining since it&#039;s reversing a deeply ingrained pattern. I know about it and I have trouble remembering to try it.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a great page. The <code>i--</code> stuff is interesting to me. maybe another post? I feel like that idea needs a little more explaining since it&#8217;s reversing a deeply ingrained pattern. I know about it and I have trouble remembering to try it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jdbartlett</title>
		<link>http://htmlcssjavascript.com/javascript/javascript-perfromance-tip-dont-test-against-obj-length-test-against-a-local-variable/#comment-56</link>
		<dc:creator>jdbartlett</dc:creator>
		<pubDate>Thu, 03 Sep 2009 04:10:31 +0000</pubDate>
		<guid isPermaLink="false">http://htmlcssjavascript.com/?p=200#comment-56</guid>
		<description>lies! what you should do is &quot;var i = temporary.length; while(i--)&quot; :p

http://www.devpro.it/examples/loopsbench/</description>
		<content:encoded><![CDATA[<p>lies! what you should do is &#8220;var i = temporary.length; while(i&#8211;)&#8221; :p</p>
<p><a href="http://www.devpro.it/examples/loopsbench/" rel="nofollow">http://www.devpro.it/examples/loopsbench/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

