Skip to content

ObservableListViewCore run filter method for all items when adding a new item #121

@Gusi

Description

@Gusi

Using ObservableListViewCore to filter an ObservableCollection, I've observed that the Filter method is executed for all items in the collection when adding a new item to the initial ObservableCollection.

In contrast, using CollectionViewSource only executes the filter for the added element, and this is a huge performance benefit with large collections. CollectionViewSource only runs Filter method for all items when calling Refresh on the view.

I'm not sure if this is an indented behaviour, so I don't know if call it a bug, or to propose it as an enhancement over the current implementation.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions