<?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: ActionScript 3 optimization tips</title>
	<atom:link href="http://flashadvanced.com/advanced-actionscript-3/actionscript-3-optimization-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://flashadvanced.com/advanced-actionscript-3/actionscript-3-optimization-tips/</link>
	<description>Become an advanced flash developer</description>
	<lastBuildDate>Fri, 13 Aug 2010 13:39:06 +0300</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: WORMSS</title>
		<link>http://flashadvanced.com/advanced-actionscript-3/actionscript-3-optimization-tips/comment-page-1/#comment-59</link>
		<dc:creator>WORMSS</dc:creator>
		<pubDate>Tue, 11 Aug 2009 10:04:57 +0000</pubDate>
		<guid isPermaLink="false">http://flashadvanced.com/?p=69#comment-59</guid>
		<description>Sorry to tell you but number 5 is not correct.

I set up 2,600 int&#039;s, boolean&#039;s, strings, movieclip&#039;s and my very own custom class&#039;s.

Ran them from within the timeline in flash IDE and a class file.

ran each 15 times, and there was no difference in speed what so ever.
even using your very own &quot;testing&quot; function and 2 others I found on the net.

and just to be sure, I ran them all on a Quad-core, Duel-core, Single-core, Very Old computer and even a low powered netbook.

all returned the same results, and in about 5% of cases, even found that all on there own line was 1ms faster.

So I think its up to individuals taste, I personally prefer them all on there own line as its easier to read.</description>
		<content:encoded><![CDATA[<p>Sorry to tell you but number 5 is not correct.</p>
<p>I set up 2,600 int&#8217;s, boolean&#8217;s, strings, movieclip&#8217;s and my very own custom class&#8217;s.</p>
<p>Ran them from within the timeline in flash IDE and a class file.</p>
<p>ran each 15 times, and there was no difference in speed what so ever.<br />
even using your very own &#8220;testing&#8221; function and 2 others I found on the net.</p>
<p>and just to be sure, I ran them all on a Quad-core, Duel-core, Single-core, Very Old computer and even a low powered netbook.</p>
<p>all returned the same results, and in about 5% of cases, even found that all on there own line was 1ms faster.</p>
<p>So I think its up to individuals taste, I personally prefer them all on there own line as its easier to read.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://flashadvanced.com/advanced-actionscript-3/actionscript-3-optimization-tips/comment-page-1/#comment-7</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 13 Jul 2009 14:37:32 +0000</pubDate>
		<guid isPermaLink="false">http://flashadvanced.com/?p=69#comment-7</guid>
		<description>Very good point, cyberpunk!
Well, it&#039;s not a wrong value.  Simply the &quot;int()&quot; function is different than &quot;Math.floor()&quot; and returns different value. So, we can say this technique works only for positive values. I have to make an update. Thanks :)</description>
		<content:encoded><![CDATA[<p>Very good point, cyberpunk!<br />
Well, it&#8217;s not a wrong value.  Simply the &#8220;int()&#8221; function is different than &#8220;Math.floor()&#8221; and returns different value. So, we can say this technique works only for positive values. I have to make an update. Thanks <img src='http://flashadvanced.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cyberpunk</title>
		<link>http://flashadvanced.com/advanced-actionscript-3/actionscript-3-optimization-tips/comment-page-1/#comment-6</link>
		<dc:creator>cyberpunk</dc:creator>
		<pubDate>Mon, 13 Jul 2009 14:07:55 +0000</pubDate>
		<guid isPermaLink="false">http://flashadvanced.com/?p=69#comment-6</guid>
		<description>this is great (the bitwise operations overall)
the only problem is that int() doesn&#039;t work the same way as Math.floor(), for negative numbers it returns a wrong value.
int(-3.1) = -3; &lt;- wrong
Math.floor(-3.1) = -4; &lt;- correct

... you have been warned ;)</description>
		<content:encoded><![CDATA[<p>this is great (the bitwise operations overall)<br />
the only problem is that int() doesn&#8217;t work the same way as Math.floor(), for negative numbers it returns a wrong value.<br />
int(-3.1) = -3; &lt;- wrong<br />
Math.floor(-3.1) = -4; &lt;- correct</p>
<p>&#8230; you have been warned <img src='http://flashadvanced.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaloyan</title>
		<link>http://flashadvanced.com/advanced-actionscript-3/actionscript-3-optimization-tips/comment-page-1/#comment-3</link>
		<dc:creator>Kaloyan</dc:creator>
		<pubDate>Mon, 29 Jun 2009 13:44:32 +0000</pubDate>
		<guid isPermaLink="false">http://flashadvanced.com/?p=69#comment-3</guid>
		<description>Nice! I only did not quite get the bitwise part of the optimization techniques. Using bitwise operators is hard for a newbie. I believe that this will certainly be more appealing if you include it in a real-world example.</description>
		<content:encoded><![CDATA[<p>Nice! I only did not quite get the bitwise part of the optimization techniques. Using bitwise operators is hard for a newbie. I believe that this will certainly be more appealing if you include it in a real-world example.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
