lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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