lua-users home
lua-l archive

Re: Conventional name proposal: merge

[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.

AltStyle によって変換されたページ (->オリジナル) /