Skip to content

Commit

Permalink
Faster startup (#484)
Browse files Browse the repository at this point in the history
Sets the optlevel on supported versions of Julia.
  • Loading branch information
PallHaraldsson authored May 22, 2020
1 parent e5ce483 commit 953b638
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Revise.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
module Revise

if isdefined(Base, :Experimental) && isdefined(Base.Experimental, Symbol("@optlevel"))
@eval Base.Experimental.@optlevel 1
end

using FileWatching, REPL, Distributed, UUIDs
import LibGit2
using Base: PkgId
Expand Down

0 comments on commit 953b638

Please sign in to comment.