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

Precompile methods for common types #148

Merged
merged 1 commit into from
Dec 12, 2019
Merged

Precompile methods for common types #148

merged 1 commit into from
Dec 12, 2019

Conversation

timholy
Copy link
Member

@timholy timholy commented Dec 3, 2019

This adds some precompile statements to reduce latency. Because the methods are simple to infer, the savings are modest, but combined with precompiles in other packages (ColorTypes, Colors, ColorVectorSpace) I'm getting latency reductions of ~30% for some common operations. So these seem worth having.

@timholy timholy merged commit f647feb into master Dec 12, 2019
@timholy timholy deleted the teh/precompile branch December 12, 2019 11:28
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