[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua design : why no lists ?
- From: Enrico Colombini <erix@...>
- Date: Wed, 15 Sep 2004 13:30:41 +0200
On Tuesday 14 September 2004 18:43, Asko Kauppi wrote:
> There are, as you know, 'table.insert' and 'table.remove'.
Also, if I remember well, Roberto's book ("Programming in Lua") shows how to
make fast lists or queues with open-ended arrays. 'table.insert' and
'table.remove' can be quite inefficient if done at the start of a large
array.
[by "array" I mean "numerically-indexed table]
Enrico