mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
macOS/arm64: turn off JIT compilation by default.
This commit is contained in:
@@ -62,6 +62,10 @@ if jit.arch == "arm64" then
|
||||
|
||||
jit.opt.start("sizemcode=128")
|
||||
for i=1, 100 do end
|
||||
|
||||
-- Actually just turn the whole thing off for arm64. It's very hard to get
|
||||
-- reliable performance in non-trivial games even with the above workaround.
|
||||
jit.off()
|
||||
else
|
||||
-- Somewhat arbitrary value (>= the default).
|
||||
jit.opt.start("sizemcode=128")
|
||||
|
||||
Reference in New Issue
Block a user