Engineering DEV
When SearchValues<T> Actually Pays Off
SearchValues benchmarked against IndexOfAny and manual loops: where it ties, where it wins 1.7x, and the per-call trap that makes it 3x slower.
Full corpus search
1 match for “csharp”
Engineering DEV
SearchValues benchmarked against IndexOfAny and manual loops: where it ties, where it wins 1.7x, and the per-call trap that makes it 3x slower.