experiment: turn off JIT
This seems to speed up copy! What does it slow down?
This commit is contained in:
parent
4ad51d648b
commit
712dc95985
5
main.lua
5
main.lua
|
@ -113,6 +113,11 @@ function App.initialize(arg)
|
||||||
if #arg > 1 then
|
if #arg > 1 then
|
||||||
print('ignoring commandline args after '..arg[1])
|
print('ignoring commandline args after '..arg[1])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if rawget(_G, 'jit') then
|
||||||
|
jit.off()
|
||||||
|
jit.flush()
|
||||||
|
end
|
||||||
end -- App.initialize
|
end -- App.initialize
|
||||||
|
|
||||||
function initialize_window_geometry(geometry_spec)
|
function initialize_window_geometry(geometry_spec)
|
||||||
|
|
Loading…
Reference in New Issue