lua-users home
lua-l archive

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


On 12.03.2017 21:35, Egor Skriptunoff wrote:
It seems that Lua does not make an attempt to optimize
bytecode (probably to reduce LOC of Lua sources?)

-- Egor
For code that is only executed once (or few times), the time tom optimize might be larger than the benefit from optimizing. If you want to optimize Lua code, it should be an optional flag (like -o? in GCC). But than again, the common argument is, if you want to be really fast, you may just use C.
--
Thomas