JuliaLang / IJulia.jl

Julia kernel for Jupyter
MIT License
2.78k stars 409 forks source link

IJulia is not precompiling in parallel on `using`? #1107

Open nilshg opened 6 months ago

nilshg commented 6 months ago

Julia has gained the ability to precompile in parallel on using a while ago:

https://github.com/JuliaLang/julia/pull/49242

This doesn't seem to happen in IJulia - is there a way to access this REPL feature in IJulia?

fingolfin commented 6 months ago

That feature is about precompiling multiple packages in parallel. As such I think it works fine for IJulia -- indeed I test it very often, when I ]up my main Julia environment. IJulia is precompiled in parallel to other packages, and it is not the last one usually, either.

If the only thing that needs to be precompiled is IJulia, this feature has no effect.

nilshg commented 6 months ago

Sorry if my phrasing was unclear - I am indeed talking about IJulia not precompiling multiple packages in parallel when using them inside a notebook, so that precompilation takes significantly longer in a notebook.