Skip to content

Commit cde1e62

Browse files
authored
Merge pull request #121 from PallHaraldsson/patch-3
Faster startup using Base.Experimental.@optlevel
2 parents 81029b7 + 82651ae commit cde1e62

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/JavaCall.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
module JavaCall
2+
if isdefined(Base, :Experimental) && isdefined(Base.Experimental, Symbol("@optlevel"))
3+
@eval Base.Experimental.@optlevel 1
4+
end
5+
26
export JavaObject, JavaMetaClass,
37
jint, jlong, jbyte, jboolean, jchar, jshort, jfloat, jdouble,
48
JObject, JClass, JMethod, JString,

0 commit comments

Comments
 (0)