lua-users home
lua-l archive

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


On 5/7/14, 11:12 AM, Thiago L. wrote:
#"table" = 5
#"_G[n]" = 5

Really? (I also think the former may be faster, and more readable)
Doh! That's what I get for measuring the impact of several changes at once -- I totally agree without a saving the _G thing is worthless.

Putting all the call work into the assigment expression is a nice compaction too.