News for hackers. Stuff that matters.
Re:.NET 6 vs .NET 5 speedup by notanaverageman on Monday November 22, 2021 @01:21AM (#29303414)
Any method does an extra null check and a cast to ICollection<T> which incur unnecessary performance degradation. Of course this is in micro optimization scale. If you do not call Any() on a hot path it does not matter which one you use.

There are no comments on this comment yet.