Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34942

Potential for performance improvements in ListCollectionView.addAll/addAllAt

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Collections
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            garethdanielsmith Gareth Daniel Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: