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

4.x: Improve MaxBy cleanup/initialization #679

Merged
merged 3 commits into from
Jun 28, 2018

Conversation

akarnokd
Copy link
Collaborator

  • Inline the selector and comparer callback fields into the sink.
  • Don't initialize fields to their defaults.
  • Clear the _list and _lastKey field on failure and completion.

@danielcweber danielcweber merged commit ad85f24 into dotnet:master Jun 28, 2018
@akarnokd akarnokd deleted the MaxByCleanup branch June 28, 2018 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants