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

No need to list, just take map's size #3673

Merged
merged 1 commit into from
Aug 14, 2015
Merged

No need to list, just take map's size #3673

merged 1 commit into from
Aug 14, 2015

Conversation

otoolep
Copy link
Contributor

@otoolep otoolep commented Aug 14, 2015

A particular test query goes from 2 minutes 40 seconds to 1 minute 25 seconds. This code simply needed to know the size of the string set, so can take the length of the map. There is no need to make a sorted string out of the map's keys.

A particular test query goes from 2 minutes 40 seconds to 1 minute 25
seconds.
@DanielMorsing
Copy link
Contributor

+1

otoolep added a commit that referenced this pull request Aug 14, 2015
No need to list, just take map's size
@otoolep otoolep merged commit 21a6bd2 into master Aug 14, 2015
@otoolep otoolep deleted the dont_list branch August 14, 2015 23:09
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

2 participants