That seems good for packages since they already have stable code. Although for programs in development it would be good something like saving into files the compilations made by Julia in memory.
Once a function is compiled save the compilation automatically into a file for the types used, if the code of that function or the types have changed. On Friday, July 4, 2014 5:44:38 AM UTC-3, Ivar Nesje wrote: > > It is not yet easy and convenient nor fast and robust, but if you compile > from source you can include extra stuff in base/userimg.jl. That will > require a full recompile every time you change your code though. > > kl. 10:37:28 UTC+2 fredag 4. juli 2014 skrev David A. følgende: >> >> Is it possible to cache the already compiled functions (or code in >> general) into files? For instance using a precompile function and a file as >> output, or something automatic that keeps in binary files the functions >> that were already compiled for the types already used, while the code >> remains the same. To avoid recompilation every time the program is executed. >> >
