--- a/src/Translate.jl Mon Nov 18 18:21:00 2019 -0500 +++ b/src/Translate.jl Tue Nov 19 09:35:42 2019 -0500 @@ -145,4 +145,13 @@ end end +##################################################### +# Precompilation hints to speed up compilation time +# for projects depending on this package (hopefully). +###################################################### + +precompile(translate_image!, (Array{Float64,2}, Array{Float64,2}, Array{Float64,1})) +precompile(translate_image!, (Array{Float64,2}, Array{Float64,2}, Array{Float64,3})) +precompile(extract_subimage!, (Array{Float64,2}, Array{Float64,2}, Array{Float64,1})) + end