bytecode - Lua - slow bytcode -


i have 3 files x.lua, y.lua , main.lua. these files doing mathematics operations (increment , decrement number). when run command

lua main.lua

is faster than

luac -o main.luac -s x.lua y.lua main.lua

please can me why bytecode slower?

i'm guessing main.lua dofile("x.lua") or require"x" , same y.lua.

in case, second form runs x.lua , y.lua twice.


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -