You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Gareth Daniel Smith (JIRA)" <ji...@apache.org> on 2015/10/14 12:14:05 UTC

[jira] [Created] (FLEX-34942) Potential for performance improvements in ListCollectionView.addAll/addAllAt

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
(v6.3.4#6332)