<?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>JacksonDunstan.com &#187; loops</title>
	<atom:link href="http://jacksondunstan.com/articles/tag/loops/feed" rel="self" type="application/rss+xml" />
	<link>http://jacksondunstan.com</link>
	<description>Mastering AS3</description>
	<lastBuildDate>Mon, 06 Feb 2012 10:00:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Amazing Lookups Optimization</title>
		<link>http://jacksondunstan.com/articles/1305</link>
		<comments>http://jacksondunstan.com/articles/1305#comments</comments>
		<pubDate>Mon, 18 Jul 2011 09:00:55 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[as]]></category>
		<category><![CDATA[casting]]></category>
		<category><![CDATA[loops]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[vector]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=1305</guid>
		<description><![CDATA[Today&#8217;s article is about an unintuitive-yet-simple optimization you can use to hugely increase the speed of reading from Array, Vector, Dictionary, Object, and dynamic classes. Need I say more? Read on for this amazing speedup! I was recently reading an article on Mark Knol&#8217;s site about some of the loop optimizations I&#8217;ve discussed before (e.g. [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/1305/feed</wfw:commentRss>
		<slash:comments>51</slash:comments>
		</item>
		<item>
		<title>Loops With int and uint</title>
		<link>http://jacksondunstan.com/articles/1258</link>
		<comments>http://jacksondunstan.com/articles/1258#comments</comments>
		<pubDate>Mon, 20 Jun 2011 09:00:04 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[conversion]]></category>
		<category><![CDATA[for]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[length]]></category>
		<category><![CDATA[loops]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[types]]></category>
		<category><![CDATA[uint]]></category>
		<category><![CDATA[vector]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=1258</guid>
		<description><![CDATA[AS3 has two integer types: int and uint. In my experience, most AS3 programmers just use int everywhere and ignore uint. This is usually acceptable as the need for unsigned integers is rare compared to their signed counterparts. However, there are significant performance differences between the two. Read on for the impact of uint on [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/1258/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>For Vs. While Revisited</title>
		<link>http://jacksondunstan.com/articles/997</link>
		<comments>http://jacksondunstan.com/articles/997#comments</comments>
		<pubDate>Mon, 27 Dec 2010 10:00:49 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[backward]]></category>
		<category><![CDATA[for]]></category>
		<category><![CDATA[forward]]></category>
		<category><![CDATA[loops]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[while]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=997</guid>
		<description><![CDATA[I wrote an article last November titled For Vs. While that needs a bit of updating an expanding today. While I updated the performance figures in my series on Flash 10.1 performance, I continue to get questions in the comments section of the original article that explore new areas. So today we&#8217;ll look at the [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/997/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>For Vs. While</title>
		<link>http://jacksondunstan.com/articles/486</link>
		<comments>http://jacksondunstan.com/articles/486#comments</comments>
		<pubDate>Fri, 27 Nov 2009 09:00:19 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[for]]></category>
		<category><![CDATA[loops]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[while]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=486</guid>
		<description><![CDATA[I&#8217;ve recently been seeing more and more usage of while loops by those who I presume are interested in performance. I&#8217;ve always assumed that these was not faster than for loops, but today I am finding out. I was taught in school that for loops are syntax sugar one small step beyond while loops. That [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/486/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Loop Speed</title>
		<link>http://jacksondunstan.com/articles/358</link>
		<comments>http://jacksondunstan.com/articles/358#comments</comments>
		<pubDate>Wed, 07 Oct 2009 09:00:31 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[arrays]]></category>
		<category><![CDATA[bitmaps]]></category>
		<category><![CDATA[dictionaries]]></category>
		<category><![CDATA[loops]]></category>
		<category><![CDATA[objects]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[vectors]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=358</guid>
		<description><![CDATA[AS3 gives you a good number of potential ways you can loop over collections. When Flash Player 10 first came out, I went ahead and tested out the new Vector class in a variety of ways. One of them was to pit it against the collections available in Flash Player 9: Array, Object, Dictionary, ByteArray, [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/358/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Changing Arrays Midstream</title>
		<link>http://jacksondunstan.com/articles/218</link>
		<comments>http://jacksondunstan.com/articles/218#comments</comments>
		<pubDate>Wed, 05 Aug 2009 09:00:53 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[arrays]]></category>
		<category><![CDATA[loops]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=218</guid>
		<description><![CDATA[I often wonder about language features that I know have a lot going on behind the scenes. In AS3, this commonly has me wondering about the for-in and for-each loops, which I use frequently. This article is about what happens to those loops when you change the array you&#8217;re iterating over during the iteration. Again [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/218/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flexible Loop Syntax</title>
		<link>http://jacksondunstan.com/articles/203</link>
		<comments>http://jacksondunstan.com/articles/203#comments</comments>
		<pubDate>Mon, 27 Jul 2009 09:00:44 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[loops]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=203</guid>
		<description><![CDATA[First things first: this might be a bug in MXMLC. It sure did cause a bug in my program though! Read on for the stupid mistake that had me scratching my head. One of my first articles on this site discussed AS3&#8242;s caching of the object you iterate over in a for-in or for-each loop. [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/203/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Loop Safety</title>
		<link>http://jacksondunstan.com/articles/170</link>
		<comments>http://jacksondunstan.com/articles/170#comments</comments>
		<pubDate>Fri, 10 Jul 2009 09:00:20 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[loops]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=170</guid>
		<description><![CDATA[This is a curiosity I&#8217;ve had for far too long. Why didn&#8217;t I make these simple tests years ago when I was first learning AS3? I&#8217;m not sure, but judging by a lot of other people&#8217;s AS3 that I&#8217;ve read, many people don&#8217;t seem to understand it. What does this print? trace&#40;&#34;before&#34;&#41;; for &#40;var i:* [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/170/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Messing With Iterators</title>
		<link>http://jacksondunstan.com/articles/180</link>
		<comments>http://jacksondunstan.com/articles/180#comments</comments>
		<pubDate>Mon, 06 Jul 2009 09:00:21 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[loops]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=180</guid>
		<description><![CDATA[The for-in and for-each loops are convenient and likely to be the loops you use most. For this reason alone you should make sure you know what you can and can&#8217;t do with them. Here&#8217;s one thing I just found can save me some typing and some bloat. Situations like this come up all the [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/180/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ActionScript 3 Loops</title>
		<link>http://jacksondunstan.com/articles/5</link>
		<comments>http://jacksondunstan.com/articles/5#comments</comments>
		<pubDate>Sat, 06 Jun 2009 21:08:13 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[loops]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=5</guid>
		<description><![CDATA[The for-each and for-in loops in JavaScript and AS3 are very convenient ways to avoid the repetition of C-style for loops. Let&#8217;s take a look at them all, what they&#8217;re good for and bad for, and see if we can find any gotchas. Here are the three loops: var a:Array = &#91;new Point&#40;1,2&#41;, new Point&#40;3,4&#41;, [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/5/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

