lua-users home
lua-l archive

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


On Sun, Dec 12, 2010 at 2:56 PM, Petite Abeille <petite_abeille@mac.com> wrote:
> type( next( t ) ) == 'number'

next() does a linear scan of the array part before starting with the
hash part.  if you have a big but empty array part it can take a
significant time.

-- 
Javier