lua-users home
lua-l archive

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


> Slightly off-topic, but... my testing indicates that replacing:
>     local n = select('#',...)
> with:
>     local n = #arg
> generates smaller code that looks to be more efficient, using both 5.1 & 
> 5.2 luac.  Are they not equivalent?

They are not equivalent if the list contains nils.