Skip to content

Commit c7c505a

Browse files
committed
add precompile
1 parent 64d662e commit c7c505a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/FastTransforms.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,8 @@ jac2jac(x...)=th_jac2jac(x...)
5050

5151
include("gaunt.jl")
5252

53+
54+
include("precompile.jl")
55+
_precompile_()
56+
5357
end # module

src/precompile.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
function _precompile_()
2+
ccall(:jl_generating_output, Cint, ()) == 1 || return nothing
3+
precompile(FastTransforms.pochhammer, (Float64, Int64,))
4+
end

0 commit comments

Comments
 (0)