dicts vs classes

Pan Xingzhi lennox at 163.com
Tue Jul 25 06:11:56 EDT 2006


dict is already a class....why another?

Guyon Morée wrote:
> Hi all,
> 
> I'm using simple classes as a container of named values and I'm
> instantiating a lot of them in a very short time.
> 
> i was wondering if there is any benefit in using dicts instead from a
> performance/memory usage point of view?
> 
> regards,
> 
> Guyon Morée
> http://gumuz.looze.net
> 



More information about the Python-list mailing list