Skip to content

Commit 9e72956

Browse files
Get rid of two precompiles from trivial Julia execution (#901)
With only using Revise in the startup.jl and this commit, there are two precompiles less with julia --trace-compile=stderr -ie "exit()"
1 parent edf6467 commit 9e72956

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/precompile.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ function _precompile_()
7373
if isdefined(Revise, :filter_valid_cachefiles)
7474
@warnpcfail precompile(Tuple{typeof(filter_valid_cachefiles), String, Vector{String}})
7575
end
76+
@warnpcfail precompile(Tuple{typeof(Revise.iswritable), String})
77+
@warnpcfail precompile(Tuple{typeof(Revise.active_repl_backend_available)})
7678
@warnpcfail precompile(Tuple{typeof(pkg_fileinfo), PkgId})
7779
@warnpcfail precompile(Tuple{typeof(push!), WatchList, Pair{String,PkgId}})
7880
@warnpcfail precompile(Tuple{typeof(pushex!), ExprsSigs, Expr})

0 commit comments

Comments
 (0)