Re:.NET 6 vs .NET 5 speedup
by sbelskie on Sunday November 21, 2021 @07:54PM
(#29301438)
Not sure if it is still the case, but it used to be that First did a fairly naive foreach over the IEnumerable while Where has several collection specific type checks that allow it to use MoveNext and maybe other more efficient ways to traverse the collection.
[ Parent
| on HN ]
There are no comments on this comment yet.