Optimize OrderPreservingMultiDictionary<TKey, TValue>.TryGetValue
The indexer for OrderPreservingMultiDictionary<K, V> creates a new array for each usage. This change implements a TryGetValue for the collection with a predicate to avoid the need to use the indexer on a SymbolTreeInfo hot path.
Showing
想要评论请 注册 或 登录