Hello,
I have a project in development which is rather large, therefore resulting in long precompilation times when using it for the first time in a fresh Julia REPL session. The project can be separated in multiple independent modules with a clearly defined hierarchy, e.g. there are modules at the bottom level which form the basis for modules further up the hierarchy.
To reduce the precompilation time, I thought it would be a good idea to redefine the modules as packages. This allows me to dev a lower-level package from a local, relative path when using one from the upper hierarchy. I thought this would lead to significantly reduced precompilation times for the higher-level packages, however I found this to be false. Testing with a simple println command (as shown here: Tutorial on precompilation) confirmed that the lower-level packages are indeed precompiled each time when using a higher-level package.
My question is therefore: Does precompilation of packages only work for added packages, not for developed ones? I’d really like to keep the structure of having local, relative paths for the moment, how can I make this work with precompilation?