<?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: Practical Performance Tweaks</title>
	<atom:link href="http://www.unitedmindset.com/jonbcampos/2009/11/30/practical-performance-tweaks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.unitedmindset.com/jonbcampos/2009/11/30/practical-performance-tweaks/</link>
	<description>Blog on technology and software development typically around Adobe Flash, Flex, and AIR.</description>
	<lastBuildDate>Wed, 25 Jan 2012 11:21:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: jonbcampos</title>
		<link>http://www.unitedmindset.com/jonbcampos/2009/11/30/practical-performance-tweaks/#comment-952</link>
		<dc:creator>jonbcampos</dc:creator>
		<pubDate>Mon, 07 Feb 2011 15:13:38 +0000</pubDate>
		<guid isPermaLink="false">http://unitedmindset.com/jonbcampos/?p=1018#comment-952</guid>
		<description>@justin @steven @simon I forget why but there was a reason that I had to build this (at the time) in a non-release version. Either way all the source code is there and available for you to run the tests yourself and see what happens. I will be creating an update soon to this post focusing on newer features.</description>
		<content:encoded><![CDATA[<p>@justin @steven @simon I forget why but there was a reason that I had to build this (at the time) in a non-release version. Either way all the source code is there and available for you to run the tests yourself and see what happens. I will be creating an update soon to this post focusing on newer features.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FlashApplications &#187; Practical Performance Tweaks</title>
		<link>http://www.unitedmindset.com/jonbcampos/2009/11/30/practical-performance-tweaks/#comment-951</link>
		<dc:creator>FlashApplications &#187; Practical Performance Tweaks</dc:creator>
		<pubDate>Mon, 07 Feb 2011 12:44:57 +0000</pubDate>
		<guid isPermaLink="false">http://unitedmindset.com/jonbcampos/?p=1018#comment-951</guid>
		<description>[...] Read the good work of him : http://www.unitedmindset.com/jonbcampos/2009/11/30/practical-performance-tweaks/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Read the good work of him : <a href="http://www.unitedmindset.com/jonbcampos/2009/11/30/practical-performance-tweaks/" rel="nofollow">http://www.unitedmindset.com/jonbcampos/2009/11/30/practical-performance-tweaks/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Richardson</title>
		<link>http://www.unitedmindset.com/jonbcampos/2009/11/30/practical-performance-tweaks/#comment-950</link>
		<dc:creator>Simon Richardson</dc:creator>
		<pubDate>Mon, 07 Feb 2011 10:37:40 +0000</pubDate>
		<guid isPermaLink="false">http://unitedmindset.com/jonbcampos/?p=1018#comment-950</guid>
		<description>Great to see more attention to optimised code, but you should republish your results on your blog in the release player, although the results seem fairly similar  compared to the release player the ms difference is a lot. Debug flash player shouldn&#039;t be used for benchmarking as the end user should be in the release player.</description>
		<content:encoded><![CDATA[<p>Great to see more attention to optimised code, but you should republish your results on your blog in the release player, although the results seem fairly similar  compared to the release player the ms difference is a lot. Debug flash player shouldn&#8217;t be used for benchmarking as the end user should be in the release player.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Sacks</title>
		<link>http://www.unitedmindset.com/jonbcampos/2009/11/30/practical-performance-tweaks/#comment-949</link>
		<dc:creator>Steven Sacks</dc:creator>
		<pubDate>Mon, 07 Feb 2011 10:31:07 +0000</pubDate>
		<guid isPermaLink="false">http://unitedmindset.com/jonbcampos/?p=1018#comment-949</guid>
		<description>I&#039;ve done my own testing and found that the rule of new doesn&#039;t apply when it comes to Vectors. It is faster to use new than it is to create a new vector from an array.

var v:Vector. = new Vector.();
is faster than
var v:Vector. = Vector.([]);</description>
		<content:encoded><![CDATA[<p>I&#8217;ve done my own testing and found that the rule of new doesn&#8217;t apply when it comes to Vectors. It is faster to use new than it is to create a new vector from an array.</p>
<p>var v:Vector. = new Vector.();<br />
is faster than<br />
var v:Vector. = Vector.([]);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Sacks</title>
		<link>http://www.unitedmindset.com/jonbcampos/2009/11/30/practical-performance-tweaks/#comment-948</link>
		<dc:creator>Steven Sacks</dc:creator>
		<pubDate>Mon, 07 Feb 2011 10:27:47 +0000</pubDate>
		<guid isPermaLink="false">http://unitedmindset.com/jonbcampos/?p=1018#comment-948</guid>
		<description>Thanks for this!  It&#039;s very comprehensive.

You should absolutely redo all your tests in the release player and post those results. The debug player has dramatically different performance than the release player. Some things are much slower, some things are a little slower, almost nothing is faster.

For the Math.max() test, you should include this and see how it compares:

i = a &gt; b ? a : b;

Also, check out Michael&#039;s blog for other optimizations:
http://lab.polygonal.de/</description>
		<content:encoded><![CDATA[<p>Thanks for this!  It&#8217;s very comprehensive.</p>
<p>You should absolutely redo all your tests in the release player and post those results. The debug player has dramatically different performance than the release player. Some things are much slower, some things are a little slower, almost nothing is faster.</p>
<p>For the Math.max() test, you should include this and see how it compares:</p>
<p>i = a &gt; b ? a : b;</p>
<p>Also, check out Michael&#8217;s blog for other optimizations:<br />
<a href="http://lab.polygonal.de/" rel="nofollow">http://lab.polygonal.de/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Mclean</title>
		<link>http://www.unitedmindset.com/jonbcampos/2009/11/30/practical-performance-tweaks/#comment-947</link>
		<dc:creator>Justin Mclean</dc:creator>
		<pubDate>Mon, 07 Feb 2011 10:14:44 +0000</pubDate>
		<guid isPermaLink="false">http://unitedmindset.com/jonbcampos/?p=1018#comment-947</guid>
		<description>Great list of tests and thanks for sharing. You may want to rerun the tests with a release swf in the non debug player you may find that the results will vary quite a bit.</description>
		<content:encoded><![CDATA[<p>Great list of tests and thanks for sharing. You may want to rerun the tests with a release swf in the non debug player you may find that the results will vary quite a bit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Campos</title>
		<link>http://www.unitedmindset.com/jonbcampos/2009/11/30/practical-performance-tweaks/#comment-317</link>
		<dc:creator>Jonathan Campos</dc:creator>
		<pubDate>Fri, 05 Nov 2010 15:44:03 +0000</pubDate>
		<guid isPermaLink="false">http://unitedmindset.com/jonbcampos/?p=1018#comment-317</guid>
		<description>@Graham For these tests I didn&#039;t turn off update though I should have made both forms of tests. Good call.</description>
		<content:encoded><![CDATA[<p>@Graham For these tests I didn&#8217;t turn off update though I should have made both forms of tests. Good call.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham Phillips</title>
		<link>http://www.unitedmindset.com/jonbcampos/2009/11/30/practical-performance-tweaks/#comment-316</link>
		<dc:creator>Graham Phillips</dc:creator>
		<pubDate>Fri, 05 Nov 2010 15:42:53 +0000</pubDate>
		<guid isPermaLink="false">http://unitedmindset.com/jonbcampos/?p=1018#comment-316</guid>
		<description>Regarding the performance of ArrayCollection, did you do your test using disableAutoUpdate()  ? Generally, you disable auto updates while the collection is being processed, then turn it on so that the events that update the view happen once.</description>
		<content:encoded><![CDATA[<p>Regarding the performance of ArrayCollection, did you do your test using disableAutoUpdate()  ? Generally, you disable auto updates while the collection is being processed, then turn it on so that the events that update the view happen once.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Optimization Techniques for Air for Android apps &#124; The World In A State of Flex</title>
		<link>http://www.unitedmindset.com/jonbcampos/2009/11/30/practical-performance-tweaks/#comment-315</link>
		<dc:creator>Optimization Techniques for Air for Android apps &#124; The World In A State of Flex</dc:creator>
		<pubDate>Wed, 08 Sep 2010 14:54:02 +0000</pubDate>
		<guid isPermaLink="false">http://unitedmindset.com/jonbcampos/?p=1018#comment-315</guid>
		<description>[...] with my previous posts on performance optimization I like to focus on the big gains and these techniques that are practical. I say practical because [...]</description>
		<content:encoded><![CDATA[<p>[...] with my previous posts on performance optimization I like to focus on the big gains and these techniques that are practical. I say practical because [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Campos</title>
		<link>http://www.unitedmindset.com/jonbcampos/2009/11/30/practical-performance-tweaks/#comment-314</link>
		<dc:creator>Jonathan Campos</dc:creator>
		<pubDate>Fri, 12 Feb 2010 16:52:19 +0000</pubDate>
		<guid isPermaLink="false">http://unitedmindset.com/jonbcampos/?p=1018#comment-314</guid>
		<description>I agree that you receive Null. I did make sure to include that warning when using &quot;as&quot;. But I left it in there so I didn&#039;t get people saying I forgot NumberAsString as one of the permutations. One of those situations where you&#039;re damned if you do, damned if you don&#039;t.</description>
		<content:encoded><![CDATA[<p>I agree that you receive Null. I did make sure to include that warning when using &#8220;as&#8221;. But I left it in there so I didn&#8217;t get people saying I forgot NumberAsString as one of the permutations. One of those situations where you&#8217;re damned if you do, damned if you don&#8217;t.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

