Skip to content

Commit

Permalink
Update REPLMode.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
PallHaraldsson authored Sep 4, 2024
1 parent 86a5b2d commit c784dbe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/REPLMode/REPLMode.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ module REPLMode

if isdefined(Base, :Experimental) &&
isdefined(Base.Experimental, Symbol("@compiler_options"))
# Without this, resolve() takes a couple of seconds, with, it takes 0.1 seconds.
# Maybe with better structured code or precompilation it's not necessary.
# Note: compile=min makes --code-coverage not work
@eval Base.Experimental.@compiler_options optimize = 0 infer = false compile=min
@eval Base.Experimental.@compiler_options optimize = 1 infer = false # compile=min
end

using Markdown, UUIDs, Dates
Expand Down

0 comments on commit c784dbe

Please sign in to comment.