[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: pairs(t, skey) and ipairs(t, skey)
- From: Dirk Laurie <dirk.laurie@...>
- Date: Thu, 3 Oct 2013 15:32:44 +0200
2013/10/3 Roberto Ierusalimschy <roberto@inf.puc-rio.br>:
> pairs traverses all keys, ipairs traverses integer keys starting from
> 1. They have NOTHING TO DO with whether those keys live in the array
> part or the hash part of a table. (How many times we will have to
> repeat this?)
On a rough estimate: 27 times.
- References:
- pairs(t, skey) and ipairs(t, skey), Andrew Starks
- Re: pairs(t, skey) and ipairs(t, skey), Luiz Henrique de Figueiredo
- Re: pairs(t, skey) and ipairs(t, skey), Tom N Harris
- Re: pairs(t, skey) and ipairs(t, skey), Luiz Henrique de Figueiredo
- Re: pairs(t, skey) and ipairs(t, skey), Leo Razoumov
- Re: pairs(t, skey) and ipairs(t, skey), Roberto Ierusalimschy