"Guyon Morée" <[EMAIL PROTECTED]> writes: > 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?
I recommend you to measure the time and memory usage for the two alternatives. That could give you the answer you want. HTH -- Marco Wahl http://visenso.com -- http://mail.python.org/mailman/listinfo/python-list