From 712dc95985a864e567a0b3ed092a47ec24039c62 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 9 Jun 2022 08:15:32 -0700 Subject: experiment: turn off JIT This seems to speed up copy! What does it slow down? --- main.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.lua b/main.lua index 3220b51..2812dd5 100644 --- a/main.lua +++ b/main.lua @@ -113,6 +113,11 @@ function App.initialize(arg) if #arg > 1 then print('ignoring commandline args after '..arg[1]) end + + if rawget(_G, 'jit') then + jit.off() + jit.flush() + end end -- App.initialize function initialize_window_geometry(geometry_spec) -- cgit 1.4.1-2-gfad0