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

PLANNER-284: Code style + performance #133

Merged
merged 2 commits into from Aug 26, 2015

Conversation

oskopek
Copy link
Contributor

@oskopek oskopek commented Aug 25, 2015

  • Creating a new Map instead of clearing it is debatable, feel free to leave that commit out.

@ge0ffrey
Copy link
Contributor

I 'll revert the clear() line indeed: if they do heavily use 20 different score levels for 1 match, then the Map capacity will have expanded to 20 already and remain that way after the clear(), improving later performance

ge0ffrey added a commit that referenced this pull request Aug 26, 2015
PLANNER-284: Code style + performance
@ge0ffrey ge0ffrey merged commit bdb6b8c into apache:master Aug 26, 2015
@oskopek oskopek deleted the PLANNER-284-fix branch August 26, 2015 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants