<?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; operators</title>
	<atom:link href="http://jacksondunstan.com/articles/tag/operators/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>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>Operator Speed: Part 2</title>
		<link>http://jacksondunstan.com/articles/1123</link>
		<comments>http://jacksondunstan.com/articles/1123#comments</comments>
		<pubDate>Mon, 07 Mar 2011 10:00:23 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[operators]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=1123</guid>
		<description><![CDATA[Today&#8217;s article is a followup to a flawed article I wrote last October. Skyboy&#8217;s comment brought this to my attention, so today I&#8217;m (hopefully) correcting the problems with an important test: AS3 operators. Read on for the updated test code and results. The first problem pointed out is that the anonymous log function caused an [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/1123/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Calling Functions</title>
		<link>http://jacksondunstan.com/articles/912</link>
		<comments>http://jacksondunstan.com/articles/912#comments</comments>
		<pubDate>Mon, 08 Nov 2010 10:00:47 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[apply]]></category>
		<category><![CDATA[call]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[operators]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=912</guid>
		<description><![CDATA[There are actually three ways to call a function in AS3. Can you name all three? Do you know which is fastest? Does the type of function being called matter? Today I&#8217;ll tackle these questions and find some surprising facts about the three ways to call a function in AS3. The three ways to call [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/912/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Accessing Objects</title>
		<link>http://jacksondunstan.com/articles/855</link>
		<comments>http://jacksondunstan.com/articles/855#comments</comments>
		<pubDate>Mon, 18 Oct 2010 09:00:53 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[dictionary]]></category>
		<category><![CDATA[dot]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[in]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[instance]]></category>
		<category><![CDATA[object]]></category>
		<category><![CDATA[operators]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[vector]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=855</guid>
		<description><![CDATA[There are three main ways to access the contents of objects in AS3: the dot (.) operator, the index ([]) operator, and the in operator. The first two are well known and functionally-equivalent because obj.property evaluates to the same value as obj["property"]. The in operator is different as I&#8217;ve described before: it returns a Boolean [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/855/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Operator Speed</title>
		<link>http://jacksondunstan.com/articles/840</link>
		<comments>http://jacksondunstan.com/articles/840#comments</comments>
		<pubDate>Mon, 04 Oct 2010 09:00:18 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[operators]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=840</guid>
		<description><![CDATA[Today&#8217;s article is about the basic operators that make up most languages, and in particular AS3. Without them there wouldn&#8217;t be much of a language. So it would seem vitally important that we know how they perform relative to each other. Is shifting faster than adding? Adding faster than multiplying? Multiplying faster than dividing? Does [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/840/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Logical Operator Performance</title>
		<link>http://jacksondunstan.com/articles/810</link>
		<comments>http://jacksondunstan.com/articles/810#comments</comments>
		<pubDate>Mon, 06 Sep 2010 09:00:51 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[and]]></category>
		<category><![CDATA[logical]]></category>
		<category><![CDATA[logical operators]]></category>
		<category><![CDATA[operators]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=810</guid>
		<description><![CDATA[An absolute fundamental of programming is the concept of logical operators like &#038;&#038; and &#124;&#124;. In a recent comment, Chris H pointed out that MXMLC doesn&#8217;t do a particularly good job generating bytecode for these operators. Today I&#8217;ll look further into the subject and see just how much this impacts performance. Let&#8217;s take a look [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/810/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Declaring Vectors</title>
		<link>http://jacksondunstan.com/articles/702</link>
		<comments>http://jacksondunstan.com/articles/702#comments</comments>
		<pubDate>Mon, 14 Jun 2010 09:00:48 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[arrays]]></category>
		<category><![CDATA[cast]]></category>
		<category><![CDATA[declare]]></category>
		<category><![CDATA[operators]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[syntax]]></category>
		<category><![CDATA[vectors]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=702</guid>
		<description><![CDATA[The differences between Vector and Array have been quite interesting since Vector was introduced in Flash Player 10. Until just recently I didn&#8217;t know that there was special syntax for declaring a Vector akin to Array's special a = [1,2,3,4,5] trick. This got me thinking about the various ways one can declare a Vector and, [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/702/feed</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Increment and Decrement</title>
		<link>http://jacksondunstan.com/articles/624</link>
		<comments>http://jacksondunstan.com/articles/624#comments</comments>
		<pubDate>Fri, 05 Mar 2010 09:00:39 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[decrement]]></category>
		<category><![CDATA[increment]]></category>
		<category><![CDATA[operators]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[post-decrement]]></category>
		<category><![CDATA[post-increment]]></category>
		<category><![CDATA[pre-decrement]]></category>
		<category><![CDATA[pre-increment]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=624</guid>
		<description><![CDATA[This is a quick article to discuss a point brought up in a recent comment. Which is the fastest way to increment: j++, ++j, or j+=1? Likewise, which is the fastest way to decrement? Below I will dispel the myth that there is any difference between them at all. Here is what the comment claimed: [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/624/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Flexible If Syntax</title>
		<link>http://jacksondunstan.com/articles/422</link>
		<comments>http://jacksondunstan.com/articles/422#comments</comments>
		<pubDate>Mon, 02 Nov 2009 09:00:48 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[booleans]]></category>
		<category><![CDATA[comma]]></category>
		<category><![CDATA[if]]></category>
		<category><![CDATA[operators]]></category>
		<category><![CDATA[syntax]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=422</guid>
		<description><![CDATA[This article is sort of a follow-up to my article on Flexible Loop Syntax. This was reported to my by a coworker who spotted the anomaly. I guess he had done with if the same sort of thing that I had done with for. Read on for a little insight into how the comma operator [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/422/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Case Statements</title>
		<link>http://jacksondunstan.com/articles/335</link>
		<comments>http://jacksondunstan.com/articles/335#comments</comments>
		<pubDate>Fri, 25 Sep 2009 09:00:15 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[closures]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[operators]]></category>
		<category><![CDATA[switch]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=335</guid>
		<description><![CDATA[The lowly switch statement and its attendant case statements is a basic element of most C-style languages. Still, I was surprised by it recently when it seemingly ate one of my functions. Read on to see how. I&#8217;d like you to consider the following demo app: public function foo&#40;&#41; &#123; function f&#40;&#41;: void &#123; &#125; [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/335/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

