[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Does pulling out locals from loops improve performance?
- From: Florian Weimer <fw@...>
- Date: Sun, 18 Sep 2011 12:55:49 +0200
* Lorenzo Donati:
> Am I missing something (I'm not an expert of Lua VM so I may have
> missed something related to the meaning of the instructions operands
> in the listings above)?
It makes a difference if the declaration within the loop hasn't got an
initializer. In that case, nil is loaded into the variable.