lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


* On 2014-03-26 10:33:01 +0100, Michal Lisičan wrote:
 
> i have 3 files x.lua, y.lua and main.lua. These files doing some
> mathematics operations (increment and decrement). If i use command for run:
> 
> lua main.lua - it is very fast
> 
> but when i delete all requires from main.lua and use commands for compiling:
> 
> luac -o main.out -s x.lua y.lua main.lua
> 
> and command for run:
> 
> lua main.out - this is very slow
> 
> please can you help me why second example is slow than first and how to
> remove this slowdown? Or how to create bytecode from multiple files without
> losing speed

Could you post your code, or even better, a minimal example which shows
this behaviour?
 

-- 
:wq
^X^Cy^K^X^C^C^C^C