C# HashSet<T>搜索性能(与可观测到的Collection<T>比较)?
原文:C# HashSet<T> search performance (compared to an ObservableCollection<T>)?
原文:C# HashSet<T> search performance (compared to an ObservableCollection<T>)?
The C# the generic HashSet<T> search performance should be O(1), and the search performance of an ObservableCollection<T> should be O(n). I have a large amount of unique elements, each element ...