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 MinBy() cleanup/initialization #681

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.

@akarnokd akarnokd changed the title 4.x: Improve MinBy() cleanup/initialization [WIP] 4.x: Improve MinBy() cleanup/initialization Jun 28, 2018
@akarnokd akarnokd changed the title [WIP] 4.x: Improve MinBy() cleanup/initialization 4.x: Improve MinBy() cleanup/initialization Jun 28, 2018
@danielcweber danielcweber merged commit 35962c6 into dotnet:master Jun 28, 2018
@akarnokd akarnokd deleted the MinByCleanup 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.

2 participants