[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lack of bytecode optimization in Lua
- From: Thomas Jericke <tjericke@...>
- Date: Mon, 13 Mar 2017 07:52:10 +0100
On 12.03.2017 21:35, Egor Skriptunoff wrote:
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.
It seems that Lua does not make an attempt to optimize
bytecode (probably to reduce LOC of Lua sources?)