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

Use Binary Search Instead of HashMap #4

Closed
wants to merge 10 commits into from
Closed

Conversation

coreyja
Copy link
Owner

@coreyja coreyja commented Feb 2, 2019

This PR implements a a BinarySearch instead of the HashMap for looking up the devicons.

This was supposed to be a performance improvement, and I do NOT believe that this actually was an improvement.

Wanted to preserve the branch, so partially doing that with this PR. I will likely also write a quick blog post about it which I will likely copy to the PR, and/or link to this PR from the blog.

@coreyja
Copy link
Owner Author

coreyja commented Feb 4, 2019

Blog Post Published: https://coreyja.com/blog/2019/02/03/devicon-binary-search.html

Going to close this pull request, I don't think I want to go with a Binary Search, especially with the cache

@coreyja coreyja closed this Feb 4, 2019
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.

1 participant