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

Added optimization in the n^2 loop of findBestMatch() #300

Merged

Conversation

mustajarvi
Copy link

Changed type of collection to Vector and hoisted out some zip()ing from
the loop. With input list sizes of 500 it approximately halved the time for
me.

Changed type of collection to Vector and hoisted out some zip()ing from
the loop. With input list sizes of 500 it approximately halved the time for
me.
@etorreborre
Copy link
Owner

Very good, thanks.

etorreborre added a commit that referenced this pull request Oct 4, 2014
Added optimization in the n^2 loop of findBestMatch()
@etorreborre etorreborre merged commit 524ac04 into etorreborre:master Oct 4, 2014
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