<?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; int</title>
	<atom:link href="http://jacksondunstan.com/articles/tag/int/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>What is an int?</title>
		<link>http://jacksondunstan.com/articles/1357</link>
		<comments>http://jacksondunstan.com/articles/1357#comments</comments>
		<pubDate>Mon, 08 Aug 2011 09:00:30 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[conversion]]></category>
		<category><![CDATA[describeType]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[type]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=1357</guid>
		<description><![CDATA[If you&#8217;re thinking &#8220;I know what an int is&#8221;, you need to take this little quiz to find out for sure! Have a look at this tiny AS3 app and think about what each type() line prints: Number or int? package &#123; import flash.display.*; import flash.utils.*; import flash.text.*; &#160; public class IntAndNumber extends Sprite &#123; [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/1357/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Faster Logic With Bitwise Operators</title>
		<link>http://jacksondunstan.com/articles/1341</link>
		<comments>http://jacksondunstan.com/articles/1341#comments</comments>
		<pubDate>Mon, 01 Aug 2011 09:00:56 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[&&]]></category>
		<category><![CDATA[bitwise]]></category>
		<category><![CDATA[boolean]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[logical]]></category>
		<category><![CDATA[operator]]></category>
		<category><![CDATA[operators]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=1341</guid>
		<description><![CDATA[Logical operators are necessary in every app, so it&#8217;s unfortunate that they are so slow in AS3. That&#8217;s why I was happy to see a potential alternative in a recent comment by Skyboy. Today&#8217;s article shows you how to do logic faster by avoiding logical operators (e.g. &#038;&#038;) and using their bitwise (e.g. &#038;) operator [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/1341/feed</wfw:commentRss>
		<slash:comments>20</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>Explicit Type Conversion</title>
		<link>http://jacksondunstan.com/articles/1175</link>
		<comments>http://jacksondunstan.com/articles/1175#comments</comments>
		<pubDate>Mon, 25 Apr 2011 09:00:44 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[boolean]]></category>
		<category><![CDATA[conversion]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[type]]></category>
		<category><![CDATA[uint]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=1175</guid>
		<description><![CDATA[Five months ago I said I&#8217;d talked about explicit type conversion. I hadn&#8217;t, really. What I talked about before was type casts. A cast changes the type, not the data. Today, I&#8217;m actually going to talk about type conversion and show you the costs of converting between all of your favorite types: int, uint, Number, [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/1175/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Implicit Type Conversion</title>
		<link>http://jacksondunstan.com/articles/939</link>
		<comments>http://jacksondunstan.com/articles/939#comments</comments>
		<pubDate>Mon, 15 Nov 2010 10:00:25 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[boolean]]></category>
		<category><![CDATA[conversion]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[type]]></category>
		<category><![CDATA[uint]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=939</guid>
		<description><![CDATA[I&#8217;ve talked before about explicit type conversion and used the function-call style (Type(obj)) and the as keyword to accomplish the task. Today, I&#8217;m going to talk about implicit type conversion and use&#8212;as implicit would imply&#8212;no operators at all! There are a limited set of circumstances where AS3 doesn&#8217;t require you to explicitly convert types. You [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/939/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>String Conversion</title>
		<link>http://jacksondunstan.com/articles/669</link>
		<comments>http://jacksondunstan.com/articles/669#comments</comments>
		<pubDate>Fri, 30 Apr 2010 09:00:50 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[boolean]]></category>
		<category><![CDATA[concatenate]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[integer]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[toString]]></category>
		<category><![CDATA[typecast]]></category>
		<category><![CDATA[uint]]></category>
		<category><![CDATA[vector]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=669</guid>
		<description><![CDATA[It struck me recently that there are a lot of ways to convert variables of many types to a the String type. The ease of doing this is one of AS3&#8242;s strengths over languages where it&#8217;s error-prone, possibly insecure, and just plain difficult. The C language is the most obvious example of this and, since [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/669/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The Size of Empty</title>
		<link>http://jacksondunstan.com/articles/663</link>
		<comments>http://jacksondunstan.com/articles/663#comments</comments>
		<pubDate>Tue, 20 Apr 2010 09:00:05 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[bitmapdata]]></category>
		<category><![CDATA[boolean]]></category>
		<category><![CDATA[bytearray]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[dictionary]]></category>
		<category><![CDATA[dynamic]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[eventdispatcher]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[instance]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[loader]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[matrix3d]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[namespace]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[object]]></category>
		<category><![CDATA[overhead]]></category>
		<category><![CDATA[point]]></category>
		<category><![CDATA[rectangle]]></category>
		<category><![CDATA[regexp]]></category>
		<category><![CDATA[shape]]></category>
		<category><![CDATA[sprite]]></category>
		<category><![CDATA[static]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[textfield]]></category>
		<category><![CDATA[timer]]></category>
		<category><![CDATA[uint]]></category>
		<category><![CDATA[vector]]></category>
		<category><![CDATA[vector3d]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[xmlnode]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=663</guid>
		<description><![CDATA[I was reminded about the flash.sampler API by Grant Skinner&#8217;s recent post about it. While only available in the debug player, it can still tell us some valuable information about what goes on in the release player. Today I&#8217;m using the getSize function to find out how much memory overhead various classes impose, even when [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/663/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Inline Math.ceil() Part II</title>
		<link>http://jacksondunstan.com/articles/657</link>
		<comments>http://jacksondunstan.com/articles/657#comments</comments>
		<pubDate>Fri, 02 Apr 2010 09:00:50 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[ceil]]></category>
		<category><![CDATA[float]]></category>
		<category><![CDATA[inline]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=657</guid>
		<description><![CDATA[I&#8217;ve been looking at a lot of AVM2 bytecode recently with the excellent Nemo440 AIR app. Some of the code was using my inline Math.ceil() function and I noticed that the int() cast is implemented like any other function call. Today&#8217;s article will show you how to optimize the inline Math.ceil() call even further by [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/657/feed</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>

