flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gareth Daniel Smith (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-34942) Potential for performance improvements in ListCollectionView.addAll/addAllAt
Date Wed, 14 Oct 2015 10:14:05 GMT
Gareth Daniel Smith created FLEX-34942:

             Summary: Potential for performance improvements in ListCollectionView.addAll/addAllAt
                 Key: FLEX-34942
                 URL: https://issues.apache.org/jira/browse/FLEX-34942
             Project: Apache Flex
          Issue Type: Improvement
          Components: Collections
            Reporter: Gareth Daniel Smith
            Priority: Minor

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.

This message was sent by Atlassian JIRA

View raw message