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 a get! instance used by Requires #37256

Merged
merged 1 commit into from
Aug 28, 2020
Merged

Precompile a get! instance used by Requires #37256

merged 1 commit into from
Aug 28, 2020

Conversation

timholy
Copy link
Sponsor Member

@timholy timholy commented Aug 28, 2020

In conjunction with xref JuliaPackaging/Requires.jl#89, this shaves about 100ms off the first usage of Requires. Aside from the 60ms it takes to load Requires, this pretty much eliminates the disincentives for using it (the remaining compilation time is basically negligible).

In conjunction with xref JuliaPackaging/Requires.jl#89,
this shaves about 100ms off the first usage of Requires.
@timholy timholy merged commit 9ce2c88 into master Aug 28, 2020
@timholy timholy deleted the teh/pc_get! branch August 28, 2020 15:43
oscardssmith pushed a commit to oscardssmith/julia that referenced this pull request Aug 28, 2020
In conjunction with xref JuliaPackaging/Requires.jl#89,
this shaves about 100ms off the first usage of Requires.
simeonschaub pushed a commit to simeonschaub/julia that referenced this pull request Aug 29, 2020
In conjunction with xref JuliaPackaging/Requires.jl#89,
this shaves about 100ms off the first usage of Requires.
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