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!
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!