I have the same problem regarding slower performance using arraycollection in 
some iterating process.
Then I change it to array , but I get another big problem......memory leak.

I use the array for small iterating process and using arraycollection for larga 
data.





To: [email protected]
From: [EMAIL PROTECTED]
Date: Thu, 31 Jan 2008 16:18:46 +0000
Subject: [flexcoders] Re: Array vs ArrayCollection
















  


    
            This is something I too wonder about from time to time. I notice 
alot

of developers are using the ArrayCollection for data binding but I

can't say with 100% confidence why one would be used in any specific

problem domain opposed to a basic array. I guess if you find you want

to use the functions exposed by the ICollectionView and IList

interfaces the ArrayCollection is your tool. 



Anybody have any clear examples? 



Nick



--- In [email protected], "rmarples" <[EMAIL PROTECTED]> wrote:

>

> We have recently made some big performance gains in our product by

replacing the use of 

> ArrayCollections with Arrays in some data calculation algorithms. It

appears that even 

> iterating through an ArrayCollection is significantly slower than an

Array. 

> 

> My question to you all is... what have you found to be the best

place to use one of the other 

> in your applications? 

> 

> Ryan

>




      

    
    
















_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008

Reply via email to