[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [PROPOSAL] a new function: table.proto()
- From: Michal Kolodziejczyk <miko@...>
- Date: Tue, 04 May 2010 13:40:57 +0200
On 04.05.2010 13:33, Duncan Cross wrote:
> 2010/5/4 Michal Kolodziejczyk <miko@wp.pl>:
>> The OP wants the table initialized with some known keys/values, so it is
>> more than the initial size alone.
>
> Check again - he's going through the keys and setting their value to
> *nil*, which looks to me like the only purpose is to force
> rehashing/resizing.
Ops, sorry, you are right. I was misled by the "oo prototyping" and
assumed that it would be initialized with some values. Sorry for the noise.
Regards,
miko