You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was reading an article about .NET Core, where early versions had a bug/feature where if you had something like collection.Select(foo).Count(); it wouldn't actually perform the Select operation, since it doesn't matter, you only need the count. But, since this would prevent side effects from happening, it was a breaking change and they had to fix it.
But, this seems like an optimization that LinqAF could keep. Maybe you already do, but if not just wanted to get the idea out there.
The text was updated successfully, but these errors were encountered:
I was reading an article about .NET Core, where early versions had a bug/feature where if you had something like collection.Select(foo).Count(); it wouldn't actually perform the Select operation, since it doesn't matter, you only need the count. But, since this would prevent side effects from happening, it was a breaking change and they had to fix it.
But, this seems like an optimization that LinqAF could keep. Maybe you already do, but if not just wanted to get the idea out there.
The text was updated successfully, but these errors were encountered: