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 lru_cache for make_icon, fix calls #105

Merged
merged 1 commit into from Mar 20, 2020

Conversation

@trou
Copy link
Contributor

trou commented Mar 20, 2020

The make_icon function is called regularly but is a bit CPU expensive, use lru_cache to avoid useless recomputations.

@trou trou mentioned this pull request Mar 20, 2020
@patateqbool patateqbool merged commit 632e14e into IDArlingTeam:master Mar 20, 2020
1 check passed
1 check passed
Travis CI - Pull Request Build Passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.