[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Project lead nominations for standard libraries?
- From: joao lobato <btnfdp.lobato@...>
- Date: Mon, 3 Jan 2011 19:44:39 +0000
On 1/3/11, Axel Kittenberger <axkibe@gmail.com> wrote:
>> O(1) implementation is possible if really needed, requires work on
>> __newindex too.
>
> I really want to see that! Cause I doubt it.
>
>
It also requires the use of proxy tables (to decrement counter on
assignment from non-nil to nil).
In the end, the table is a building block; there are a lot of corner
cases when one tries to use them as a particular data structure.