[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Suggestion : Future directions, zoom out etc
- From: Tom Wrensch <twrensch@...>
- Date: Mon, 11 Feb 2002 09:17:42 -0800 (PST)
On Sun, 10 Feb 2002, Luiz Henrique de Figueiredo wrote:
> >Other than that, a higher speed array type (integer only index).
> In the current work version, tables are already optimized in a "smart" way
> for being used as arrays.
I too had wanted this in Lua, but over time I've realized that tables can
do anything a "proper" array would do. The only arguments remaining in
their favor (in my mind) are:
1. The possibility of an ordered iterator over the array contents
2. Reduced memory usage
- Tom Wrensch