<?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: on performance of looping arrays and objects in javascript</title>
	<atom:link href="http://fragged.org/on-performance-of-looping-arrays-and-objects-in-javascript_979.html/feed" rel="self" type="application/rss+xml" />
	<link>http://fragged.org/on-performance-of-looping-arrays-and-objects-in-javascript_979.html</link>
	<description>[..] 2. To completely ruin something.</description>
	<lastBuildDate>Mon, 30 Aug 2010 21:05:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Dimitar Christoff</title>
		<link>http://fragged.org/on-performance-of-looping-arrays-and-objects-in-javascript_979.html/comment-page-1#comment-66</link>
		<dc:creator>Dimitar Christoff</dc:creator>
		<pubDate>Mon, 15 Feb 2010 13:02:25 +0000</pubDate>
		<guid isPermaLink="false">http://fragged.org/on-performance-of-looping-arrays-and-objects-in-javascript_979.html#comment-66</guid>
		<description>sometimes, you don&#039;t have a choice though. for instance--doing a for ... in loop to iterate through an array (treating it as an object instead) is the only way to obtain the array keys. This works due to Array in javascript actually being an object with array-type characteristics but it&#039;s dangerous due to prototypical inheritance of the Array itself - any changes to that would show up as members of your array so you also need to use &#039;hasOwnProperty()&#039; and it adds even more time to the loop</description>
		<content:encoded><![CDATA[<p>sometimes, you don&#8217;t have a choice though. for instance&#8211;doing a for &#8230; in loop to iterate through an array (treating it as an object instead) is the only way to obtain the array keys. This works due to Array in javascript actually being an object with array-type characteristics but it&#8217;s dangerous due to prototypical inheritance of the Array itself &#8211; any changes to that would show up as members of your array so you also need to use &#8216;hasOwnProperty()&#8217; and it adds even more time to the loop</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Holy</title>
		<link>http://fragged.org/on-performance-of-looping-arrays-and-objects-in-javascript_979.html/comment-page-1#comment-65</link>
		<dc:creator>Holy</dc:creator>
		<pubDate>Mon, 15 Feb 2010 12:44:54 +0000</pubDate>
		<guid isPermaLink="false">http://fragged.org/on-performance-of-looping-arrays-and-objects-in-javascript_979.html#comment-65</guid>
		<description>WOW!!

Very expressive results which makes it clear what i will be using from now on :)</description>
		<content:encoded><![CDATA[<p>WOW!!</p>
<p>Very expressive results which makes it clear what i will be using from now on <img src='http://fragged.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/


Served from: fragged.org @ 2010-09-09 12:56:06 -->