Automatic Generation of Python Class Files
Steven Bethard
steven.bethard at gmail.com
Mon Oct 29 19:35:12 EDT 2007
Fuzzyman wrote:
> On Oct 22, 6:43 pm, Steven Bethard <steven.beth... at gmail.com> wrote:
>> # Inherit from object. There's no reason to create old-style classes.
>
> We recently had to change an object pipeline from new style classes to
> old style. A lot of these objects were being created and the *extra
> overhead* of new style classes was killing us. :-)
I'm curious. Was it memory or speed overhead that was the problem?
Steve
More information about the Python-list
mailing list