Re: Lack of bytecode optimization in Lua
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Lack of bytecode optimization in Lua
- From: Thomas Jericke <tjericke@...>
- Date: 2017年3月13日 07:52:10 +0100
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