lua-users home
lua-l archive

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


Em qui., 20 de fev. de 2020 às 14:05, Roberto Ierusalimschy <roberto@inf.puc-rio.br> escreveu:
> In lvm.c (function luaV_finishget)
>
> The var slot inside loop is static. Maybe be better unroll the loop.
> So we remove the branch (if slot == NULL)?
> What do you think?

By "static" you mean constant? 'slot' is not constant inside the loop.
The macro 'luaV_fastget' modifies it.
Ok. Thank you.

regards,
Ranier Vilela