-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Add precompile statement for Base.Ryu.writefixed from Float64 to Int64 #50416
Add precompile statement for Base.Ryu.writefixed from Float64 to Int64 #50416
Conversation
Doesn't make much sense to me to add this add at such a low level. If you want |
I'm not sure why. I just know this statement seems to appear still even after adding the precompile statements in the other pull request to Julia master. |
Isn't this related to the |
Fixed by #49585 |
It does appear related to |
And adding this fixed it? |
Confirming that
I will rebuild with this branch to confirm that adding the precompile statement resolves the issue. |
With an empty default environment, I get the following when doing I conclude that this is not fixed by #49585 . Julia 1.9.2 official build
Julia Nightly
This Branch
|
Could we reopen this or more clearly identify why it was closed? |
@IanButterworth , do you also observe this compilation taking place with |
@time Pkg.activate
seems to useBase.Ryu.writefixed
on Julia master.Since environment activation is a common operation, we should precompile this statement.
I had added this by hard coding it in contrib/generate_precompile.jl.
Edit: Revised to more clearly indicate that
@time Pkg.activate()
triggers the compilation, but either alone.