lua-users home
lua-l archive

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


Quoth Roberto Ierusalimschy <roberto@inf.puc-rio.br>, on 2010-12-28 09:04:25 -0200:
> This solution is simple and elegant; as it uses 'ipairs' itself, it
> avoids any problem of missinterpreting the way it works.  The complexity
> of the code is the same of other proposals (linear with the size of the
> table), so your "slow" here is quite relative.

Indeed; I like Enrico's form better.  I retract my earlier response.

> -- Roberto

   ---> Drake Wilson