lua-users home
lua-l archive

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


Newbie level
------------
I would appreciate some clarification on a query I have.

In lua tables, fields (with string-indices) are accessed in
constant time.

What about the elements of an array (using tables of course)?
Constant time or linear?

-- this question came up while reading a part of the lua book.

Thanks.

SNS