<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blog &#124; BenHollis.net &#187; JavaScript</title>
	<atom:link href="http://benhollis.net/blog/category/web/javascript-web/feed/" rel="self" type="application/rss+xml" />
	<link>http://benhollis.net/blog</link>
	<description>News about BenHollis.net and articles about Ben&#039;s interests</description>
	<lastBuildDate>Sat, 06 Mar 2010 01:54:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Speeding up jQuery&#8217;s each function</title>
		<link>http://benhollis.net/blog/2010/01/23/speeding-up-jquerys-each-function/</link>
		<comments>http://benhollis.net/blog/2010/01/23/speeding-up-jquerys-each-function/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 01:52:11 +0000</pubDate>
		<dc:creator>Ben Hollis</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://benhollis.net/blog/?p=413</guid>
		<description><![CDATA[In my previous post, &#8220;Investigating JavaScript Array Iteration Performance&#8220;, I found that among a selection of different array iteration methods, jQuery&#8217;s each function was the slowest. It&#8217;s worth mentioning again that these investigations are pretty academic &#8211; array iteration and looping speed is unlikely to be the source of performance problems compared to actual program [...]]]></description>
			<content:encoded><![CDATA[<p>In my previous post, &#8220;<a href="/blog/2009/12/13/investigating-javascript-array-iteration-performance/">Investigating JavaScript Array Iteration Performance</a>&#8220;, I found that among a selection of different array iteration methods, jQuery&#8217;s <tt>each</tt> function was the slowest. It&#8217;s worth mentioning again that these investigations are pretty academic &#8211; array iteration and looping speed is unlikely to be the source of performance problems compared to actual program logic, DOM manipulation, string manipulation, etc. I just found it interesting to poke into how things work in different browsers. That said, with the recent release of jQuery 1.4 emphasizing performance so much, I wanted to see what if anything could be done to speed up <tt>each</tt> (which is used inside jQuery all over the place), and whether it would made much of a difference.</p>
<p>Again, the details are after the jump.<br />
<span id="more-413"></span></p>
<p>For reference, here&#8217;s the original implementation of jQuery.each from jQuery 1.3.2 (it hasn&#8217;t changed much for 1.4):</p>
<pre>
function( object, callback, args ) {
 var name, i = 0, length = object.length;

 if ( args ) {
  ... omitted ...

 } else {
  if ( length === undefined ) {
    ... omitted ...
  } else
   <span style="color: green">for ( var value = object[0];
    i < length &#038;&#038; callback.call( value, i, value ) !== false; value = object[++i] ){}</span>
 }

 return object;
}
</pre>
<p>I cut out some pieces relating to iterating over Objects instead of Arrays, and some internal-only code, just for brevity. You can see that at its core, <tt>each</tt> just iterates over the array with a regular <tt>for</tt> loop and calls the provided callback for each element. It&#8217;s using the <a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Function/call"><tt>call</tt></a> function to invoke the callback so it can set <tt>this</tt> to the value of each element in the array in turn, and passes the index in the array and the value at that index as parameters to the callback as well.</p>
<p>I ended up trying four different modifications of jQuery&#8217;s <tt>each</tt> function. I also allowed myself to actually change the signature of <tt>each</tt>, which would likely break much existing code written on top of jQuery, but it gave me a lot more freedom to tweak things.</p>
<p>The first was to try using native <a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/forEach"><tt>Array.forEach</tt></a> (where available). I had to pass in my own callback to <tt>forEach</tt> that reversed the order of the index and value arguments to the function, since <tt>jQuery.each</tt> and <tt>Array.forEach</tt> put those arguments in opposite order. Of course, I had to fall back on the original <tt>for</tt> loop implementation for IE. This modification retains the complete behavior from the original implementation.</p>
<pre>
<span style="color: green">if (jQuery.isFunction(object.forEach) ) {
  object.forEach(function(value, i) {
    callback.call(value, i, value);
  });
}</span>
else {
  for (var value = object[0];
    i < length &#038;&#038; callback.call(value, i, value) !== false;
    value = object[++i]) {}
}
</pre>
<p>Next, I tried skipping the callback that switches the order of arguments and just passing the user's callback directly to <tt>forEach</tt>. I had to modify the fallback to match this. Notice in both cases we no longer set <tt>this</tt> to the current element in the iteration - <tt>Array.forEach</tt> doesn't support that directly. We're solidly in non-backwards-compatible change territory here.</p>
<pre>
if (jQuery.isFunction(object.forEach) ) {
  <span style="color: green">object.forEach(callback);</span>
}
else {
  for (var value = object[0];
    i < length &#038;&#038; <span style="color: green">callback.call(null, value, i)</span> !== false;
    value = object[++i]) {}
}
</pre>
<p>I noticed in testing this out that Firefox seems to really struggle with using <tt>call</tt> with a frequently-changing value for <tt>this</tt> (the first parameter) so I tried another variation that didn't use native <tt>Array.forEach</tt> but just didn't change <tt>this</tt> in the <tt>call</tt> (I let it be the whole array each time):</p>
<pre>
for (var value = object[0];
  i < length &#038;&#038; callback.call(object, i, value) !== false;
  value = object[++i]) {}
</pre>
<p>After that, I wondered why use <tt>call</tt> at all (I might be missing something important here about how JavaScript function invocation works - please correct me!) So I tried a version that just called the callback directly.</p>
<pre>
for (var value = object[0];
  i < length &#038;&#038;  <span style="color: green">callback(i, value)</span> !== false;
  value = object[++i]) {}
</pre>
<p>With these four variations, I went and tested how long it took for them to iterate over a 500,000 element array in different browsers. In the previous tests I used 100,000 elements but the tests completed too fast to get meaningful results (which should tell you how fast this stuff is to begin with!). As in the previous post, the absolute numbers don't really mean much - it's the comparison between the different approaches that matters.</p>
<table class="datatable numbers">
<caption>Time to iterate over an array of 500,000 integers</caption>
<tr>
<th></th>
<th><tt>jQuery.each</tt></th>
<th><tt>Array.forEach</tt> (same signature as jQuery)</th>
<th><tt>Array.forEach</tt> (native signature)</th>
<th>Unvarying '<tt>this</tt>'</th>
<th>No <tt>call</tt></th>
</tr>
<tr>
<th>Firefox 3.5</th>
<td>1,358ms</td>
<td>1,591ms</td>
<td>371ms</td>
<td>576ms</td>
<td>469ms</td>
</tr>
<tr>
<th>Firefox 3.6rc2</th>
<td>546ms</td>
<td>672ms</td>
<td>201ms</td>
<td>194ms</td>
<td>109ms</td>
</tr>
<tr>
<th>Firefox 3.7a1pre</th>
<td>524ms</td>
<td>641ms</td>
<td>173ms</td>
<td>102ms</td>
<td>301ms</td>
</tr>
<tr>
<th>Chrome 3</th>
<td>81ms</td>
<td>94ms</td>
<td>41ms</td>
<td>38ms</td>
<td>35ms</td>
</tr>
<tr>
<th>Safari 4</th>
<td>54ms</td>
<td>102ms</td>
<td>102ms</td>
<td>69ms</td>
<td>56ms</td>
</tr>
<tr>
<th>IE 8</th>
<td>789ms</td>
<td>759ms</td>
<td>693ms</td>
<td>741ms</td>
<td>476ms</td>
</tr>
<tr>
<th>Opera 10.10</th>
<td>451ms</td>
<td>703ms</td>
<td>286ms</td>
<td>305ms</td>
<td>228ms</td>
</tr>
</table>
<p>We find that Firefox 3.6 improves over Firefox 3.5, IE is slow no matter what (though faster than Firefox 3.5 for vanilla <tt>jQuery.each</tt>), and the Webkit browsers are both very fast. What's more interesting is to look at each time as a percentage of the stock jQuery implementation:</p>
<table class="datatable numbers">
<caption>Percentage of time taken to iterate over 500,000 integers compared to regular <tt>jQuery.each</tt>.</caption>
<tr>
<th></th>
<th><tt>Array.forEach</tt> (same signature as jQuery)</th>
<th><tt>Array.forEach</tt> (native signature)</th>
<th>Unvarying '<tt>this</tt>'</th>
<th>No <tt>call</tt></th>
</tr>
<tr>
<th>Firefox 3.5</th>
<td>117%</td>
<td style="background-color: #D6FFD0">27%</td>
<td>42%</td>
<td>35%</td>
</tr>
<tr>
<th>Firefox 3.6rc2</th>
<td>123%</td>
<td>37%</td>
<td>36%</td>
<td style="background-color: #D6FFD0">20%</td>
</tr>
<tr>
<th>Firefox 3.7a1pre</th>
<td>122%</td>
<td>33%</td>
<td style="background-color: #D6FFD0">20%</td>
<td>57%</td>
</tr>
<tr>
<th>Chrome 3</th>
<td>116%</td>
<td>51%</td>
<td>47%</td>
<td style="background-color: #D6FFD0">43%</td>
</tr>
<tr>
<th>Safari 4</th>
<td>189%</td>
<td>188%</td>
<td>128%</td>
<td>104%</td>
</tr>
<tr>
<th>IE 8</th>
<td>96%</td>
<td>88%</td>
<td>94%</td>
<td style="background-color: #D6FFD0">60%</td>
</tr>
<tr>
<th>Opera 10.10</th>
<td>156%</td>
<td>63%</td>
<td>68%</td>
<td style="background-color: #D6FFD0">51%</td>
</tr>
</table>
<p>A couple of things jump out at us - <tt>Array.forEach</tt> doesn't buy us anything if we have to provide a callback to reverse the inputs. If we can use the native <tt>forEach</tt> signature, it gets much faster, but not by an order of magnitude. Not varying <tt>this</tt> helps a lot in Firefox and Chrome - I suspect some runtime optimizations kick in if <tt>this</tt> stays the same, but not if it's changing. The overhead of <tt>call</tt> is significant - it tends to matter more than anything else here. The last thing to note is that, weirdly, Safari 4 is fastest with the stock <tt>jQuery.each</tt> - I wonder if they've optimized specifically for that pattern.</p>
<p>Armed with this knowledge, I customized a copy of jQuery 1.4 to stop referring to <tt>this</tt> in its uses of <tt>each</tt>, switched the <tt>for</tt> loop to call the callback directly instead of using <tt>call</tt>, and reverse-engineered <a href="http://ejohn.org/files/jquery1.4/slick/?type=attr">the performance tests</a> John Resig used for the <a href="http://jquery14.com/day-01">jQuery 1.4 release notes</a>. Using these tests, I compared my custom version to the released jQuery 1.4. </p>
<p>The result: <b>optimizing array iteration speed made no difference</b>. The real work being done by jQuery (DOM manipulation, etc) totally overshadows any array iteration overhead. Reducing that overhead even by 80% doesn't matter at all. We learned a few things about how fast <tt>Array.forEach</tt> is and how setting <tt>this</tt> in <tt>call</tt> affects performance, but we haven't found some magic way to make our code, or jQuery overall, any faster. Furthermore, the only improvement that would have preserved the signature of the original jQuery API was actually slower than the existing implementation! It's not worth losing <tt>this</tt> in <tt>each</tt> for any of these speed gains.</p>
<p>There was one small improvement to jQuery, however - a very small boost to the compressability of the library. Using explicit arguments to <tt>each</tt> instead of <tt>this</tt> to refer to the current element being iterated means that YUI Compressor or Google Closure Compiler can use one character for that item, instead of 4 for <tt>this</tt> (since <tt>this</tt> is a keyword). In practice, that saved about 197 bytes out of 69,838 - still not a huge win. But I like to avoid using <tt>this</tt> in my <tt>each</tt> anyway, just so I get to use semantically meaningful variable names, so it's nice to see that I'm saving a byte or two along the way.</p>
<p>PS: Aside from the "jQueryness" of it, I wondered why <tt>each</tt> set <tt>this</tt> to the current element in the array anyway. I have one idea - if <tt>this</tt> is set to the current element in the array for each invocation of the callback, you can do cleaner OO-style JavaScript. For example, let's say you have a <tt>Dialog</tt> object that has a <tt>close</tt> method. Of course the <tt>close</tt> method would just use <tt>this</tt> to refer to the object it's a member of. But if you had an array of <tt>Dialog</tt>s and wanted to say "<tt>$.each(dialogs, Dialog.prototype.close)</tt>" and <tt>each</tt> <em>didn't</em> set <tt>this</tt> to each <tt>Dialog</tt> in turn, everything would get confused. Of course, in jQuery 1.4 you can get around this using <a href="http://api.jquery.com/jQuery.proxy/"><tt>jQuery.proxy</tt></a>, which goes ahead and uses <tt>apply</tt> (a variant of <tt>call</tt>) anyway.</p>
]]></content:encoded>
			<wfw:commentRss>http://benhollis.net/blog/2010/01/23/speeding-up-jquerys-each-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Investigating JavaScript Array Iteration Performance</title>
		<link>http://benhollis.net/blog/2009/12/13/investigating-javascript-array-iteration-performance/</link>
		<comments>http://benhollis.net/blog/2009/12/13/investigating-javascript-array-iteration-performance/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 02:26:45 +0000</pubDate>
		<dc:creator>Ben Hollis</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[underscore.js]]></category>

		<guid isPermaLink="false">http://brh.numbera.com/blog/?p=390</guid>
		<description><![CDATA[The other day I was working on some JavaScript code that needed to iterate over huge arrays. I was using jQuery&#8217;s $.each function just because it was simple, but I had heard from a bunch of articles on the web that $.each was much slower than a normal for loop. That certainly made sense, and [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I was working on some JavaScript code that needed to iterate over huge arrays. I was using jQuery&#8217;s <a href="http://docs.jquery.com/Utilities/jQuery.each#objectcallback"><tt>$.each</tt></a> function just because it was simple, but I had heard from a bunch of articles on the web that <tt>$.each</tt> was much slower than a normal for loop. That certainly made sense, and switching to a normal for loop sped up my code quite a bit in the sections that dealt with large arrays.</p>
<p>I&#8217;d also recently seen an article on <a href="http://ajaxian.com">Ajaxian</a> about a new library, <a href="http://documentcloud.github.com/underscore/">Underscore.js</a> that claimed to include, among other nice Ruby-style functional building blocks, an <tt>each</tt> function that was powered by the JavaScript 1.5 <a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/forEach"><tt>Array.forEach</tt></a> when it was available (and degrading for IE). I wondered how much faster that was than jQuery&#8217;s <tt>$.each</tt>, and that got me to thinking about all the different ways to iterate over an array in JavaScript, so I decided to test them out and compare them in different browsers.</p>
<p>This gets pretty long so the rest is after the jump.<br />
<span id="more-390"></span></p>
<p>I went with six different approaches for my test. Each function would take a list of 100,000 integers and add them together. <a href="/experiments/browserdemos/foreach/array-iteration.html">You can try the test yourself.</a> The first was a normal  <tt>for</tt> loop, with <a href="http://en.wikipedia.org/wiki/Loop-invariant_code_motion">the loop invariant hoisted</a>:</p>
<pre>
var total = 0;
var length = myArray.length;
for (var i = 0; i < length; i++) {
  total += myArray[i];
}
return total;
</pre>
<p>And then again without the invariant hoisted, just to see if it makes a difference:</p>
<pre>
var total = 0;
for (var i = 0; i < myArray.length; i++) {
  total += myArray[i];
}
return total;
</pre>
<p>Next I tried a <a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Statements/for...in"><tt>for in</tt></a> loop, which is really <a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Statements/for...in#Description">not a good idea</a> for iterating over an array at all - it's really for iterating over the properties of an object - but is included because it's interesting and some people try to use it for iteration:</p>
<pre>
var total = 0;
for (i in myArray) {
  total += myArray[i];
}
return total;
</pre>
<p>Next I tried out the  <a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/forEach"><tt>Array.forEach</tt></a> included in JavaScript 1.5, on its own. Note that IE doesn't support this (surprised?):</p>
<pre>
var total = 0;
myArray.forEach(function(n, i){
  total += n;
});
return total;
</pre>
<p>After that I tested Underscore.js 0.5.1's <a href="http://documentcloud.github.com/underscore/#each"><tt>_.each</tt></a>:</p>
<pre>
var total = 0;
_.each(myArray, function(i, n) {
  total += n;
});
return total;
</pre>
<p>And then jQuery 1.3.2's <tt>$.each</tt>, which differs from Underscore's in that it doesn't use the native  <tt>forEach</tt> where available, and <tt>this</tt> is set to each element of the array as it is iterated:</p>
<pre>
var total = 0;
$.each(myArray, function(i, n){
  total += n;
});
return total;
</pre>
<p>I tested a bunch of browsers I had lying around - Firefox 3.5, Chrome 3, Safari 4, IE 8, Opera 10.10, and Firefox 3.7a1pre (the bleeding edge build, because I wanted to know if Firefox is getting faster). I tried testing on IE6 and IE7 in VMs but they freaked out and crashed. The tests iterated over a list of 100,000 integers, and I ran each three times and averaged the results. Note that this is not a particularly rigorous test - other stuff was running on my computer, some of the browsers were run in VMs, etc. I mostly wanted to be able to compare different approaches within a single browser, not compare browsers, though some differences were readily apparent after running the tests.</p>
<table class="datatable numbers">
<caption>Time to iterate over an array of 100,000 integers</caption>
<tr>
<th></th>
<th><tt>for</tt> loop</th>
<th><tt>for</tt> loop (unhoisted)</th>
<th><tt>for in</tt></th>
<th><tt>Array.forEach</tt></th>
<th>Underscore.js <tt>each</tt></th>
<th><tt>jQuery.each</tt></th>
</tr>
<tr>
<th>Firefox 3.5</th>
<td>2ms</td>
<td>2ms</td>
<td>78ms</td>
<td>72ms</td>
<td>69ms</td>
<td style="background-color: #FFD0D0">225ms</td>
</tr>
<tr>
<th>Firefox 3.7a1pre</th>
<td>2ms</td>
<td>3ms</td>
<td>73ms</td>
<td>29ms</td>
<td>34ms</td>
<td>108ms</td>
</tr>
<tr>
<th>Chrome 3</th>
<td>2ms</td>
<td>2ms</td>
<td>35ms</td>
<td>6ms</td>
<td style="background-color: #D6FFD0">5ms</td>
<td>14ms</td>
</tr>
<tr>
<th>Safari 4</th>
<td>1ms</td>
<td>2ms</td>
<td style="background-color: #FFD0D0">162ms</td>
<td>16ms</td>
<td>15ms</td>
<td style="background-color: #D6FFD0">10ms</td>
</tr>
<tr>
<th>IE 8</th>
<td>17ms</td>
<td style="background-color: #FFD0D0">41ms</td>
<td>265ms</td>
<td>n/a</td>
<td>127ms</td>
<td>133ms</td>
</tr>
<tr>
<th>Opera 10.10</th>
<td>15ms</td>
<td>19ms</td>
<td>152ms</td>
<td>53ms</td>
<td>57ms</td>
<td>74ms</td>
</tr>
</table>
<p>I've highlighted some particularly interesting good and bad results from the table (in green and red, respectively). Let's see what we can figure out from these tests. I'll get the obvious comparisons between browsers out of the way - IE is really slow, and Chrome is really fast. Other than that, they each seem to have some mix of strengths and weaknesses.</p>
<p>First, the <tt>for</tt> loop is really fast. It's hard to beat, and it's clear that if you've got to loop over a ton of elements and speed is important to you you should be using a <tt>for</tt> loop. It's sad that it's so much slower in IE and Opera, but it's still faster than the alternative. Opera's result is somewhat surprising - while it's not particularly fast anywhere, it's not nearly as slow as IE on the other looping methods, but it's still pretty slow on normal <tt>for</tt> loops. Notice that IE8 is the only browser where manually hoisting the loop invariant in the <tt>for</tt> loop matters - by almost 3x. I'm guessing every other browser automatically caches the <tt>myArray.length</tt> result, leading to roughly the same performance either way, but IE doesn't.</p>
<p>Next, it turns out that <tt>for in</tt> loops are not just incorrect, they're slow - even in otherwise blazingly-fast Chrome. In every browser there's a better choice, and it doesn't even get you much in terms of convenience (since it iterates over indices of the array, not values). Safari is particularly bad with them - they're 10x slower than its next slowest benchmark. Just don't use <tt>for in</tt>!</p>
<p>The results for the native <tt>Array.forEach</tt> surprised me. I expected some overhead because of the closure and function invocation on the passed-in iterator function, but I didn't expect it to be so much slower. Chrome and Safari seem to be pretty well-optimized, though it is still several times slower than the normal <tt>for</tt> loop, but Firefox and Opera really chug along - especially Firefox. Firefox 3.7a1pre seems to have optimized <tt>forEach</tt> a bit (probably more than is being shown, since 3.7a1pre was running in a VM while 3.5 was running on my normal OS).</p>
<p>Underscore.js <tt>each</tt>'s performance is pretty understandable, since it boils down to native <tt>forEach</tt> in most browsers, it performs pretty much the same. However, in IE it has to fall back to a normal <tt>for</tt> loop and invoke the iterator function itself for each element, and it slows way down. What's most surprising about that is that having Underscore invoke a function for each element within a for loop is still 10x slower in IE than just using a <tt>for</tt> loop! There must be a lot of overhead in invoking a function with <a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Function/call"><tt>call</tt></a> in IE - or maybe just in invoking functions in general.</p>
<p>Lastly we have jQuery's <tt>each</tt>, which (excluding for in loops) is the slowest method of iterating over an array in most of the browsers tested. The exception is Safari, which consistently does better with jQuery's each than it does with Underscore's or the native <tt>forEach</tt>. I'm really not sure why, though the difference is not huge. IE's performance here is pretty much expected, since Underscore degrades to almost the same code as jQuery's when a native <tt>forEach</tt> isn't available. Firefox 3.5 is the real shocker - it's drastically slower with jQuery's <tt>each</tt>. It's even slower than IE8, and by a wide margin! Firefox 3.7a1pre makes things better, but it's still pretty embarassing. I have some theories on why it's so slow in Firefox and what could be done about it, but those will have to wait for another post.</p>
<p>It'd be interesting to try out some of the other major JavaScript libraries' iteration functions and compare them with jQuery and Underscore's speeds - I'm admittedly a jQuery snob, but it'd be interesting to see if other libraries are faster or not.</p>
<p>It's worth noting that, as usual, this sort of performance information only matters if you're actually seeing performance problems - don't rewrite your app to use <tt>for</tt> loops or pull in Underscore.js if you're only looping over tens, or hundreds, or even thousands of items. The convenience of jQuery's functional-style <tt>each</tt> means it's going to stay my go-to for most applications. But if you're seeing performance problem iterating over large arrays, hopefully this will help you speed things up.</p>
]]></content:encoded>
			<wfw:commentRss>http://benhollis.net/blog/2009/12/13/investigating-javascript-array-iteration-performance/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
