push
github
[`Optimize`]: some optimizations for `KeyedCollectionSlim` (#3913) * optimize: KeyedCollectionSlim * 1. Add comments for KeyedCollectionSlim; * 2. Remove unnecessary 'where' conditions, keep 'where condition' the same as KeyedCollection; * 3. Add initialcapacity for .ctor; * 4. Add some benchmarks; * Update src/Neo.IO/Caching/KeyedCollectionSlim.cs * Revert "Update src/Neo.IO/Caching/KeyedCollectionSlim.cs" This reverts commit 31b0128f8. --------- Co-authored-by: Shargon <shargon@gmail.com>
6443 of 9002 branches covered (71.57%)
Branch coverage included in aggregate %.
20 of 24 new or added lines in 2 files covered. (83.33%)
42 existing lines in 6 files now uncovered.22922 of 27668 relevant lines covered (82.85%)
127899.37 hits per line