<?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: AS3 vs. JavaScript Performance Followup (March 2010)</title>
	<atom:link href="http://jacksondunstan.com/articles/618/feed" rel="self" type="application/rss+xml" />
	<link>http://jacksondunstan.com/articles/618</link>
	<description>Mastering AS3</description>
	<lastBuildDate>Tue, 07 Feb 2012 09:30:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mario Klingemann</title>
		<link>http://jacksondunstan.com/articles/618/comment-page-1#comment-563</link>
		<dc:creator>Mario Klingemann</dc:creator>
		<pubDate>Wed, 10 Mar 2010 17:48:05 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=618#comment-563</guid>
		<description>Very interesting results. Good that I did not bet any money on that I would have sworn that Vectors make it faster.</description>
		<content:encoded><![CDATA[<p>Very interesting results. Good that I did not bet any money on that I would have sworn that Vectors make it faster.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jackson</title>
		<link>http://jacksondunstan.com/articles/618/comment-page-1#comment-548</link>
		<dc:creator>jackson</dc:creator>
		<pubDate>Thu, 04 Mar 2010 19:33:28 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=618#comment-548</guid>
		<description>Yes, that is the test I&#039;m using. You can find a link in the spreadsheets and the original test, but I stopped adding it to the followup articles.

I converted the test to use &lt;tt&gt;Vector&lt;/tt&gt; instead of &lt;tt&gt;Array&lt;/tt&gt; just now and found the following results:

&lt;ul&gt;
&lt;li&gt;Test 0: no change&lt;/li&gt;
&lt;li&gt;Test 1: massively slower (2-3x) due to the required sort function. See my &lt;a href=&quot;/articles/270&quot; rel=&quot;nofollow&quot;&gt;article&lt;/a&gt; about this.&lt;/li&gt;
&lt;li&gt;Test 2: no change&lt;/li&gt;
&lt;li&gt;Test 3: no change&lt;/li&gt;
&lt;li&gt;Test 4: no change&lt;/li&gt;
&lt;li&gt;Test 5: no change&lt;/li&gt;
&lt;li&gt;Test 6: no change&lt;/li&gt;
&lt;li&gt;Test 7: no change&lt;/li&gt;
&lt;li&gt;Test 8: no change&lt;/li&gt;
&lt;li&gt;Test 9: no change&lt;/li&gt;
&lt;li&gt;Test 10: no change&lt;/li&gt;
&lt;li&gt;Test 11: no change&lt;/li&gt;
&lt;li&gt;Test 12: no change&lt;/li&gt;
&lt;/ul&gt;

So &lt;tt&gt;Vector&lt;/tt&gt; doesn&#039;t seem to help AS3/Flash Player&#039;s performance overall.</description>
		<content:encoded><![CDATA[<p>Yes, that is the test I&#8217;m using. You can find a link in the spreadsheets and the original test, but I stopped adding it to the followup articles.</p>
<p>I converted the test to use <tt>Vector</tt> instead of <tt>Array</tt> just now and found the following results:</p>
<ul>
<li>Test 0: no change</li>
<li>Test 1: massively slower (2-3x) due to the required sort function. See my <a href="/articles/270" rel="nofollow">article</a> about this.</li>
<li>Test 2: no change</li>
<li>Test 3: no change</li>
<li>Test 4: no change</li>
<li>Test 5: no change</li>
<li>Test 6: no change</li>
<li>Test 7: no change</li>
<li>Test 8: no change</li>
<li>Test 9: no change</li>
<li>Test 10: no change</li>
<li>Test 11: no change</li>
<li>Test 12: no change</li>
</ul>
<p>So <tt>Vector</tt> doesn&#8217;t seem to help AS3/Flash Player&#8217;s performance overall.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jackson</title>
		<link>http://jacksondunstan.com/articles/618/comment-page-1#comment-547</link>
		<dc:creator>jackson</dc:creator>
		<pubDate>Thu, 04 Mar 2010 18:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=618#comment-547</guid>
		<description>Tomorrow&#039;s article will be on the subject of different increment and decrement strategies.</description>
		<content:encoded><![CDATA[<p>Tomorrow&#8217;s article will be on the subject of different increment and decrement strategies.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rezmason</title>
		<link>http://jacksondunstan.com/articles/618/comment-page-1#comment-546</link>
		<dc:creator>Rezmason</dc:creator>
		<pubDate>Thu, 04 Mar 2010 14:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=618#comment-546</guid>
		<description>Yes, please make sure you use typed AS3 Vectors instead of Arrays in the performance test. Even if a SWF does not contain user-written ActionScript, Vectors are still used internally by the player.

Also, for what it&#039;s worth I hear (i += 1) is faster than (i++) in ActionScript.</description>
		<content:encoded><![CDATA[<p>Yes, please make sure you use typed AS3 Vectors instead of Arrays in the performance test. Even if a SWF does not contain user-written ActionScript, Vectors are still used internally by the player.</p>
<p>Also, for what it&#8217;s worth I hear (i += 1) is faster than (i++) in ActionScript.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mario Klingemann</title>
		<link>http://jacksondunstan.com/articles/618/comment-page-1#comment-545</link>
		<dc:creator>Mario Klingemann</dc:creator>
		<pubDate>Thu, 04 Mar 2010 11:58:37 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=618#comment-545</guid>
		<description>That&#039;s some very interesting info - thanks! But I had a look at the ActionScript test code (I assume you use the one by Ted Patrick here: http://www.onflex.org/perf/srcview/ ) and it seems like all the tests are still using Arrays. In a real world situation AS3 developers would use the new Vector class for these kinds of operations so I think this test does not correctly reflect the possible speed AS3 could achieve.</description>
		<content:encoded><![CDATA[<p>That&#8217;s some very interesting info &#8211; thanks! But I had a look at the ActionScript test code (I assume you use the one by Ted Patrick here: <a href="http://www.onflex.org/perf/srcview/" rel="nofollow">http://www.onflex.org/perf/srcview/</a> ) and it seems like all the tests are still using Arrays. In a real world situation AS3 developers would use the new Vector class for these kinds of operations so I think this test does not correctly reflect the possible speed AS3 could achieve.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

