1 comment

[ 3.3 ms ] story [ 15.4 ms ] thread
In this post, I looked at the performance of a popular helper method suggested in the csharp subreddit, a way to avoid using List.Contains.

It looks at the impact of params ReadOnlySpan<T>, of switching to if statements, and how net8 stacks up to the preview net10.