From 5188dbd366ecbe125481d2bc1d3cf7c3f31a6ad4 Mon Sep 17 00:00:00 2001 From: PatrickHaecker <152268010+PatrickHaecker@users.noreply.github.com> Date: Mon, 7 Apr 2025 17:47:57 +0200 Subject: [PATCH] Get rid of two precompiles from trivial Julia execution With only using Revise in the startup.jl and this commit, there are two precompiles less with julia --trace-compile=stderr -ie "exit()" --- src/precompile.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/precompile.jl b/src/precompile.jl index c1172534..e58894e1 100644 --- a/src/precompile.jl +++ b/src/precompile.jl @@ -73,6 +73,8 @@ function _precompile_() if isdefined(Revise, :filter_valid_cachefiles) @warnpcfail precompile(Tuple{typeof(filter_valid_cachefiles), String, Vector{String}}) end + @warnpcfail precompile(Tuple{typeof(Revise.iswritable), String}) + @warnpcfail precompile(Tuple{typeof(Revise.active_repl_backend_available)}) @warnpcfail precompile(Tuple{typeof(pkg_fileinfo), PkgId}) @warnpcfail precompile(Tuple{typeof(push!), WatchList, Pair{String,PkgId}}) @warnpcfail precompile(Tuple{typeof(pushex!), ExprsSigs, Expr})