Hi there,
Just trying to precompile my first module, and I don’t seem to get any precompilation.
I have something like
#mod1.jl
__precompile__()
module Mod1
x = 1
f(y::Int) = x + y
precompile(f,(Int,))
end
Then I have something like,
include("mod1.jl")
using Mod1
Mod1.f(10)
Now, should I have a .ji
file generated from this example in Base.LOAD_CACHE_PATH[1]
? There is no message stating that anything is being precompiled, and certainly no file indicating there is anything cached.
Running Julia 0.6 on Windows. Thank you.
Pedro