Skip to content

Commit

Permalink
avoid defining a new non-anonymous function
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Oct 24, 2024
1 parent 47fc1ec commit 3235e6f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions contrib/generate_precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,8 @@ end
# interactive startup uses this
write(IOBuffer(), "")
# Not critical, but helps hide unrelated compilation from @time when using --trace-compile.
f55729() = Base.Experimental.@force_compile
@time @eval f55729()
@time @eval f55729()
# precompile @time report generation and printing
@time @eval Base.Experimental.@force_compile
"""

julia_exepath() = joinpath(Sys.BINDIR, Base.julia_exename())
Expand Down

0 comments on commit 3235e6f

Please sign in to comment.