I have WPF listview, with around 1000 records in it. I am doing on the fly filtering of listview items, that is as user types in to text box control, it matches items with text box content and filter items in to listview. So far filtering was working fine and it was pretty fast. Recently I have implemented custom sort on this listview, after that filtering has become very slow. Please provide me guidelines to improve performance of listview filtering without affecting sorting performance.
Regards
sandeep
Just be aware the the method:
will be called a lot of times. Sacrifice genericism for performance. If you do an implementation that uses reflection or anything with a relatively long duration here, this will be slow.