Re: [PROPOSAL] a new function: table.proto()
[
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: 2010年5月04日 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