Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The performance of ListCollectionView.addAll could be improved in the case where there is no sort/filter. Currently, in this case, one event is emitted per added row, but AFAICT there only needs to be a single event emitted (that would contain all the new rows).
This would improve performance a lot where there are grids/lists that are bound to ListCollectionView/ArrayCollection instances that get updated, which is a common use-case in my experience.
On a related note, please consider my pull request here: https://github.com/apache/flex-sdk/pull/18 - as this would alllow me to move away from ArrayCollection towards ArrayList without creating bugs that won't be detectable until runtime.