Performance Pitfalls in C# / .NET – List Contains (richardcocks.github.io) 2 points by eterm 11mo ago ↗ HN
[–] eterm 11mo ago ↗ 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.
1 comment
[ 3.3 ms ] story [ 15.4 ms ] threadIt looks at the impact of params ReadOnlySpan<T>, of switching to if statements, and how net8 stacks up to the preview net10.