-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Run the selector on items during Select.Count chains. #19455
Copy link
Copy link
Closed
Labels
api-needs-workAPI needs work before it is approved, it is NOT ready for implementationAPI needs work before it is approved, it is NOT ready for implementationarea-System.Linqdesign-discussionOngoing discussion about design without consensusOngoing discussion about design without consensushelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributors
Milestone
Metadata
Metadata
Assignees
Labels
api-needs-workAPI needs work before it is approved, it is NOT ready for implementationAPI needs work before it is approved, it is NOT ready for implementationarea-System.Linqdesign-discussionOngoing discussion about design without consensusOngoing discussion about design without consensushelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributors
Type
Fields
Give feedbackNo fields configured for issues without a type.
Per @VSadov's comment at dotnet/corefx#12703 (comment):
So in other words, we should undo all the
GetCountoptimizations that skip running the selector ifonlyIfCheapif false. But if it's true, we're probably using it to preallocate a buffer of some sort, & are probably going to use it anyways. So in those scenarios it should be ok to not run the selector.cc @JonHanna