Expediting `using` at Jupyter

I understood (may be wrongly) than in .jl files, execution can be expedited little pit by starting the file with __precompile__() which will help saming the precomiling time for statement using xxx

Is there something similar in Jupyter that can expedite the startup time of the commands!

No, in Julia 1.0 precompilation is the default. (And this is only for modules, not for individual .jl files.)

Is there something similar in Jupyter that can expedite the startup time of the commands?

Jupyter notebooks already exploit precompiled modules.

In future versions of Julia we are already planning to cache more compiled code. See What's actually inside precompiled Julia files? for what is actually cached now; in the future we will also cache machine code. See also this long thread Roadmap for a faster time-to-first-plot?

3 Likes