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

Small performance improvements #71

Merged
merged 2 commits into from
Dec 6, 2019
Merged

Small performance improvements #71

merged 2 commits into from
Dec 6, 2019

Conversation

timholy
Copy link
Member

@timholy timholy commented Nov 24, 2019

This shaves a few percent off the time needed for using Images. Not a big deal, but certainly doesn't hurt.

Previously, these methods got recompiled for each atsign-require usage. 
Preventing specialization allows them to be inferred just once.
These only take a couple of milliseconds to infer, but we might as well 
cache the inference result.
@timholy timholy merged commit 5dd4791 into master Dec 6, 2019
@timholy timholy deleted the teh/perf branch December 6, 2019 22:36
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