| Jon Rose’s Blog | | Enterprise Software Consultant Open Source / Java / Flex Flex Practice Director @ Gorilla Logic, Inc. InfoQ.com RIA Editor |
![]() |
Comments:
autocarsinsurance.net » Blog Archive » Flex ArrayCollection Performance on November 4th, 2008 at 9:42 pm #
[...] Beyond making instancing ArrayCollection faster, it would be nice to have the option to easily disable this behavior with a configuration property . Here is the feature request I made: http://bugs.adobe.com/jira/browse/SDK-17916. … Read more [...]
Craig Newroth on November 5th, 2008 at 12:37 pm #
I thought that was a good idea. I voted for it!
teddy on November 6th, 2008 at 3:48 am #
got the same problem with my project, change back from arraycollection to array for some function.
Jon Rose’s Blog » Blog Archive » Flex Immaturities on November 7th, 2008 at 6:01 am #
[...] similar pain for me was ArrayCollection (see previous post). In my previous post, I didn’t discuss our attempts to extend ArrayCollection to control [...]
Campbell Anderson on November 20th, 2008 at 8:41 pm #
Wait until you start dealing with Hierarchical collections (multidimensional Arraycollections) where events have to propagate up the tree.
Campbell Anderson on November 20th, 2008 at 8:50 pm #
P.S. if its just the events that are slow. override the “dispatchEvent” method (part of IEventDispatcher) to have a switch to stop it, or stack the events for later disptach.
Jon Rose’s Blog » Blog Archive » Chat on Performance Pitfalls of Flex’s ArrayCollection on November 20th, 2008 at 11:57 pm #
[...] James and I have posted our latest video, Performance Pitfalls of Flex’s ArrayCollection. It is a follow-up to my recent post on the problems we encourtered with ArrayCollection. [...]
Velo on November 21st, 2008 at 6:15 am #
I’m not 100% of this, didn’t try. But, instead of returning a List you could change you method to return an Array[] Just add an extra line and invoke List.toArray(new ?[0]); I think is better then using legacy-collection setting.
Matt on November 21st, 2008 at 12:51 pm #
Interesting find. Could you enable the legacy-collection setting and then have your result handler wrap the resulting array in an ArrayCollection before passing it on to the rest of the system? That way you get the best of both worlds (no events fired during deserialization but still get the benefits of ArrayCollection later) with only localized code changes. Or is that what you’re doing already?
jonr on November 21st, 2008 at 3:25 pm #
Thanks for the comment Matt! I actually tried the approach you are describing. I explain what happened in the following post: http://ectropic.com/wordpress/?p=63.
Drunk on Software » Blog Archive » Episode 3: Performance Pitfalls of Flex’s ArrayCollection on November 27th, 2008 at 6:53 pm #
[...] of working with large data sets in Flex. For additional details read Jon’s blog about the performance problems with ArrayCollection and check out the associated bug in Flex’s bug db. We’ve also put together two Flex [...]
Flex: Wrapping an ArrayCollection of Arrays « Justin J. Moses : Blog on April 6th, 2009 at 7:53 pm #
[...] enable databinding. You could alter it slightly to handle ArrayCollections, but as we can see from Jon Rose’s blog and examples, you lose performance with a high number of [...] Post a comment
|
|