lua-users home
lua-l archive

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




On Mon, Dec 12, 2022 at 4:47 AM Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
- It is possible that the next Lua version will operate directly with
the loop variable, without any internal copy.

- It is possible that, in the next Lua version, the loop control
variable will be implicit declared as <const> to make the above change
safer.

The second item would be a good idea, for both the numeric and generic for loops. 

--