Skip to content

Commit 7dc6683

Browse files
IanButterworthvtjnash
authored andcommitted
avoid defining a new non-anonymous function
1 parent 0108e11 commit 7dc6683

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

contrib/generate_precompile.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,8 @@ end
184184
# interactive startup uses this
185185
write(IOBuffer(), "")
186186
187-
# Not critical, but helps hide unrelated compilation from @time when using --trace-compile.
188-
f55729() = Base.Experimental.@force_compile
189-
@time @eval f55729()
190-
@time @eval f55729()
187+
# precompile @time report generation and printing
188+
@time @eval Base.Experimental.@force_compile
191189
"""
192190

193191
julia_exepath() = joinpath(Sys.BINDIR, Base.julia_exename())

0 commit comments

Comments
 (0)