We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cde1e62 commit 7dce609Copy full SHA for 7dce609
src/JavaCall.jl
@@ -1,6 +1,10 @@
1
module JavaCall
2
-if isdefined(Base, :Experimental) && isdefined(Base.Experimental, Symbol("@optlevel"))
3
- @eval Base.Experimental.@optlevel 1
+
+# Cuts runtests.jl time by one to two seconds
4
+# https://github.com/JuliaLang/julia/pull/34896
5
+@static if isdefined(Base, :Experimental) &&
6
+ isdefined(Base.Experimental, Symbol("@optlevel"))
7
+ Base.Experimental.@optlevel 1
8
end
9
10
export JavaObject, JavaMetaClass,
0 commit comments