<?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: Declaring Vectors</title>
	<atom:link href="http://jacksondunstan.com/articles/702/feed" rel="self" type="application/rss+xml" />
	<link>http://jacksondunstan.com/articles/702</link>
	<description>Mastering AS3</description>
	<lastBuildDate>Mon, 14 May 2012 17:02:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Darn that Jackson Dunstan! &#171; /dev/luchador</title>
		<link>http://jacksondunstan.com/articles/702/comment-page-1#comment-5432</link>
		<dc:creator>Darn that Jackson Dunstan! &#171; /dev/luchador</dc:creator>
		<pubDate>Mon, 18 Apr 2011 15:14:08 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=702#comment-5432</guid>
		<description>[...] add elements to an array or vector.  It reads like nice clean code when I use it, but it&#8217;s slower (yes, slower!) than using the index operator.  At least I never use delete, which can instantly [...]</description>
		<content:encoded><![CDATA[<p>[...] add elements to an array or vector.  It reads like nice clean code when I use it, but it&#8217;s slower (yes, slower!) than using the index operator.  At least I never use delete, which can instantly [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: whitered</title>
		<link>http://jacksondunstan.com/articles/702/comment-page-1#comment-898</link>
		<dc:creator>whitered</dc:creator>
		<pubDate>Thu, 07 Oct 2010 12:27:16 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=702#comment-898</guid>
		<description>the answer was found here: http://jpauclair.net/2009/12/05/tamarin-part-ii-more-on-array-and-vector/</description>
		<content:encoded><![CDATA[<p>the answer was found here: <a href="http://jpauclair.net/2009/12/05/tamarin-part-ii-more-on-array-and-vector/" rel="nofollow">http://jpauclair.net/2009/12/05/tamarin-part-ii-more-on-array-and-vector/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: whitered</title>
		<link>http://jacksondunstan.com/articles/702/comment-page-1#comment-896</link>
		<dc:creator>whitered</dc:creator>
		<pubDate>Thu, 07 Oct 2010 10:52:46 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=702#comment-896</guid>
		<description>There is a strange effect with increasing vector&#039;s length
http://pastebin.com/27qGJa2X
Can anybody explain this?</description>
		<content:encoded><![CDATA[<p>There is a strange effect with increasing vector&#8217;s length<br />
<a href="http://pastebin.com/27qGJa2X" rel="nofollow">http://pastebin.com/27qGJa2X</a><br />
Can anybody explain this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fumio Nonaka</title>
		<link>http://jacksondunstan.com/articles/702/comment-page-1#comment-690</link>
		<dc:creator>Fumio Nonaka</dc:creator>
		<pubDate>Sat, 19 Jun 2010 15:34:17 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=702#comment-690</guid>
		<description>They said Version 4.0.0 build 14159.
http://wonderfl.net/help#help_compiler

And the result of &quot;new&quot; is faster than &quot;push single&quot; and nearly equal to &quot;scratch many&quot;.</description>
		<content:encoded><![CDATA[<p>They said Version 4.0.0 build 14159.<br />
<a href="http://wonderfl.net/help#help_compiler" rel="nofollow">http://wonderfl.net/help#help_compiler</a></p>
<p>And the result of &#8220;new&#8221; is faster than &#8220;push single&#8221; and nearly equal to &#8220;scratch many&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FlashPlayer10.1：看得见的加速 &#124; 猫脸爬格子-flash资讯,游戏资讯</title>
		<link>http://jacksondunstan.com/articles/702/comment-page-1#comment-687</link>
		<dc:creator>FlashPlayer10.1：看得见的加速 &#124; 猫脸爬格子-flash资讯,游戏资讯</dc:creator>
		<pubDate>Fri, 18 Jun 2010 06:08:32 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=702#comment-687</guid>
		<description>[...] 更新 如果想对一下参数更有感觉，请参考Jackson的帖子。他们代表了在AS3中使用不同的方法声明Vector Safari on Mac OSX 10.6.3: Flash Player [...]</description>
		<content:encoded><![CDATA[<p>[...] 更新 如果想对一下参数更有感觉，请参考Jackson的帖子。他们代表了在AS3中使用不同的方法声明Vector Safari on Mac OSX 10.6.3: Flash Player [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jackson</title>
		<link>http://jacksondunstan.com/articles/702/comment-page-1#comment-686</link>
		<dc:creator>jackson</dc:creator>
		<pubDate>Thu, 17 Jun 2010 17:09:01 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=702#comment-686</guid>
		<description>I looked at the version you posted to wonderfl in nemo440 and it seems like your compiler generated a &lt;tt&gt;push&lt;/tt&gt; for each element, similar to the &quot;push single&quot; test:

&lt;pre lang=&quot;text&quot;&gt;
    303     pushstring    	&quot;new: &quot;
    305     getscopeobject	1
    307     getslot       	4
    309     getscopeobject	1
    311     getslot       	3
    313     subtract      	
    314     add           	
    315     call          	(1)
    317     pop           	
    318     getscopeobject	1
    320     findpropstrict	flash.utils::getTimer
    322     callproperty  	flash.utils::getTimer (0)
    325     convert_i     	
    326     setslot       	3
    328     getscopeobject	1
    330     pushbyte      	0
    332     setslot       	5
    334     jump          	L5

    
    L6: 
    338     label         	
    339     getscopeobject	1
    341     getlex        	Vector
    343     getlex        	int
    345     OP_0x53       	
    346     bkpt          	
    347     construct     	(0)
    349     coerce        	__AS3__.vec::Vector.&lt;int&gt;
    351     setslot       	6
    353     getscopeobject	1
    355     getslot       	6
    357     pushbyte      	100
    359     callpropvoid  	http://adobe.com/AS3/2006/builtin::push (1)
    362     getscopeobject	1
    364     getslot       	6
    366     pushbyte      	101
    368     callpropvoid  	http://adobe.com/AS3/2006/builtin::push (1)
    371     getscopeobject	1
    373     getslot       	6
    375     pushbyte      	102
    377     callpropvoid  	http://adobe.com/AS3/2006/builtin::push (1)
    380     getscopeobject	1
    382     getslot       	6
    384     pushbyte      	103
    386     callpropvoid  	http://adobe.com/AS3/2006/builtin::push (1)
    389     getscopeobject	1
    391     getslot       	6
    393     pushbyte      	104
    395     callpropvoid  	http://adobe.com/AS3/2006/builtin::push (1)
    398     getscopeobject	1
    400     getslot       	5
    402     increment_i   	
    403     getscopeobject	1
    405     swap          	
    406     setslot       	5
&lt;/pre&gt;

Which version of Flex were you compiling with? For reference, I used MXMLC 4.0.0.14159.</description>
		<content:encoded><![CDATA[<p>I looked at the version you posted to wonderfl in nemo440 and it seems like your compiler generated a <tt>push</tt> for each element, similar to the &#8220;push single&#8221; test:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">    303     pushstring        &quot;new: &quot;
    305     getscopeobject    1
    307     getslot           4
    309     getscopeobject    1
    311     getslot           3
    313     subtract          
    314     add               
    315     call              (1)
    317     pop               
    318     getscopeobject    1
    320     findpropstrict    flash.utils::getTimer
    322     callproperty      flash.utils::getTimer (0)
    325     convert_i         
    326     setslot           3
    328     getscopeobject    1
    330     pushbyte          0
    332     setslot           5
    334     jump              L5
&nbsp;
&nbsp;
    L6: 
    338     label             
    339     getscopeobject    1
    341     getlex            Vector
    343     getlex            int
    345     OP_0x53           
    346     bkpt              
    347     construct         (0)
    349     coerce            __AS3__.vec::Vector.&lt;int&gt;
    351     setslot           6
    353     getscopeobject    1
    355     getslot           6
    357     pushbyte          100
    359     callpropvoid      http://adobe.com/AS3/2006/builtin::push (1)
    362     getscopeobject    1
    364     getslot           6
    366     pushbyte          101
    368     callpropvoid      http://adobe.com/AS3/2006/builtin::push (1)
    371     getscopeobject    1
    373     getslot           6
    375     pushbyte          102
    377     callpropvoid      http://adobe.com/AS3/2006/builtin::push (1)
    380     getscopeobject    1
    382     getslot           6
    384     pushbyte          103
    386     callpropvoid      http://adobe.com/AS3/2006/builtin::push (1)
    389     getscopeobject    1
    391     getslot           6
    393     pushbyte          104
    395     callpropvoid      http://adobe.com/AS3/2006/builtin::push (1)
    398     getscopeobject    1
    400     getslot           5
    402     increment_i       
    403     getscopeobject    1
    405     swap              
    406     setslot           5</pre></div></div>

<p>Which version of Flex were you compiling with? For reference, I used MXMLC 4.0.0.14159.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fumio Nonaka</title>
		<link>http://jacksondunstan.com/articles/702/comment-page-1#comment-685</link>
		<dc:creator>Fumio Nonaka</dc:creator>
		<pubDate>Thu, 17 Jun 2010 16:57:46 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=702#comment-685</guid>
		<description>To make test fair, each Vector instance should be assigned to a variable (v).  Then the &quot;new&quot; seems to be almost equivalent to the &quot;scratch many&quot;.
http://wonderfl.net/c/4aBs</description>
		<content:encoded><![CDATA[<p>To make test fair, each Vector instance should be assigned to a variable (v).  Then the &#8220;new&#8221; seems to be almost equivalent to the &#8220;scratch many&#8221;.<br />
<a href="http://wonderfl.net/c/4aBs" rel="nofollow">http://wonderfl.net/c/4aBs</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jackson</title>
		<link>http://jacksondunstan.com/articles/702/comment-page-1#comment-684</link>
		<dc:creator>jackson</dc:creator>
		<pubDate>Wed, 16 Jun 2010 21:16:03 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=702#comment-684</guid>
		<description>Yep, it&#039;s Flex 4 only according to Adobe&#039;s &lt;a href=&quot;http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Vector.html&quot; rel=&quot;nofollow&quot;&gt;documentation&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Yep, it&#8217;s Flex 4 only according to Adobe&#8217;s <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Vector.html" rel="nofollow">documentation</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nick</title>
		<link>http://jacksondunstan.com/articles/702/comment-page-1#comment-683</link>
		<dc:creator>nick</dc:creator>
		<pubDate>Wed, 16 Jun 2010 21:09:41 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=702#comment-683</guid>
		<description>anything other than Vector. does not compile for me in flex 3.5

Is this a flex 4 only thing?

-ndy</description>
		<content:encoded><![CDATA[<p>anything other than Vector. does not compile for me in flex 3.5</p>
<p>Is this a flex 4 only thing?</p>
<p>-ndy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jackson</title>
		<link>http://jacksondunstan.com/articles/702/comment-page-1#comment-681</link>
		<dc:creator>jackson</dc:creator>
		<pubDate>Wed, 16 Jun 2010 01:13:24 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=702#comment-681</guid>
		<description>Cool. I&#039;ll give it a try!</description>
		<content:encoded><![CDATA[<p>Cool. I&#8217;ll give it a try!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

