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

Special case .count() for .unique() and .unique_by() #254

Merged
merged 2 commits into from Jan 7, 2018
Merged

Conversation

bluss
Copy link
Member

@bluss bluss commented Jan 6, 2018

These can be simplified because we can use HashMap::extend and just look
at the resulting number of elements; this skips cloning the keys as
well.

These can be simplified because we can use HashMap::extend and just look
at the resulting number of elements; this skips cloning the keys as
well.
@bluss bluss merged commit 4bbb924 into master Jan 7, 2018
@bluss bluss deleted the unique-count branch January 7, 2018 00:24
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.

None yet

1 participant