MyTest.jl A Julia test project to figure out precompilation of functions using LeastSquaresOptim and ForwardDiff A minimal-working example illustrating this issue from the Julia discourse.