Skip to content

Commit 16d6c9b

Browse files
committed
default jit.off
1 parent 816a1e3 commit 16d6c9b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

resources/luajitCompact.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,8 @@ function defer(toBeClosed, callback)
9797
return result
9898
end
9999
end
100+
101+
102+
-- for current performance, jit.off has more performance than jit.on
103+
jit.off()
104+
jit.flush()

0 commit comments

Comments
 (0)