<?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>Actionscript Artist &#187; AS3 Tips</title>
	<atom:link href="http://www.actionscriptartist.com/category/as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.actionscriptartist.com</link>
	<description>Design, create, and develop.</description>
	<lastBuildDate>Fri, 14 Aug 2009 20:33:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>AS3 Optimization &#8211; Fastest Way to Copy an Array</title>
		<link>http://www.actionscriptartist.com/as3/as3-optimization-fastest-way-to-copy-an-array/</link>
		<comments>http://www.actionscriptartist.com/as3/as3-optimization-fastest-way-to-copy-an-array/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 03:07:39 +0000</pubDate>
		<dc:creator>Anders</dc:creator>
				<category><![CDATA[AS3 Tips]]></category>

		<guid isPermaLink="false">http://www.actionscriptartist.com/?p=92</guid>
		<description><![CDATA[Came across an interesting article about AS3 optimization and what was the fastest way to copy an array.  Benoit Beausejour at agit8 did a series of test using various methods of copying an array.  The results are based on copying 500000 elements and are listed below:

for() unoptimized: 118ms
for() key-key optimized: 30ms
while() key-key optimized: [...]]]></description>
			<content:encoded><![CDATA[<p>Came across an interesting article about AS3 optimization and what was the fastest way to copy an array.  Benoit Beausejour at <a href="http://agit8.turbulent.ca/bwp/">agit8</a> did a series of test using various methods of copying an array.  The results are based on copying 500000 elements and are listed below:</p>
<blockquote>
<p>for() unoptimized: 118ms</p>
<p>for() key-key optimized: 30ms</p>
<p>while() key-key optimized: 30ms</p>
<p>Bytearray copy: 176ms</p>
<p>Array slice(): 19ms</p>
<p>Array concat(): 8ms</p>
</blockquote>
<p>More information about this and the source code that he used to find this out can be found <a href="http://agit8.turbulent.ca/bwp/2008/08/04/flash-as3-optimization-fastest-way-to-copy-an-array/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.actionscriptartist.com/as3/as3-optimization-fastest-way-to-copy-an-array/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
