Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify Enumerable.AggregateBy #109110

Closed
wants to merge 1 commit into from
Closed

Simplify Enumerable.AggregateBy #109110

wants to merge 1 commit into from

Conversation

pentp
Copy link
Contributor

@pentp pentp commented Oct 22, 2024

Instead of custom iterators just return the already created dictionary.

@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Oct 22, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-linq
See info in area-owners.md if you want to be subscribed.

@eiriktsarpalis
Copy link
Member

Effectively this is a duplicate of #106110. The change alters the behaviour of the method to use eager instead of deferred execution.

@pentp
Copy link
Contributor Author

pentp commented Oct 22, 2024

Ah, I forgot deferred execution...

@pentp pentp closed this Oct 22, 2024
@pentp pentp deleted the aggregateby branch October 22, 2024 14:06
@eiriktsarpalis
Copy link
Member

Thanks regardless 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Linq community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants