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

perf: improve disease caching #391

Merged
merged 2 commits into from
Dec 12, 2023
Merged

perf: improve disease caching #391

merged 2 commits into from
Dec 12, 2023

Conversation

jsstevenson
Copy link
Member

Originally we used lru_cache to try it out, but with the volume of disease terms we end up using I don't think there's any reason not to just cache the whole thing in a dict.

@jsstevenson jsstevenson merged commit 354a243 into main Dec 12, 2023
16 checks passed
@jsstevenson jsstevenson deleted the better-disease-cache branch December 12, 2023 12:45
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