Fuzzyman a écrit : > On Oct 22, 6:43 pm, Steven Bethard <[EMAIL PROTECTED]> wrote: (snip) >> # 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. :-) > Maybe a dumb question, but what about __slots__ here ? (NB : never faced this kind of problem myself). -- http://mail.python.org/mailman/listinfo/python-list
- Re: Automatic Generation of ... Bruno Desthuilliers
- Re: Automatic Generation of ... Steven Bethard
- Re: Automatic Generation of ... Bruno Desthuilliers
- Re: Automatic Generation of ... Steven Bethard
- Re: Automatic Generation of Python Class File... Steven Bethard
- Re: Automatic Generation of Python Class ... Sunburned Surveyor
- Re: Automatic Generation of Python Class ... Fuzzyman
- Re: Automatic Generation of Python Cl... Steven Bethard
- Re: Automatic Generation of Pyth... Fuzzyman
- Re: Automatic Generation of ... Chris Mellon
- Re: Automatic Generation of Python Cl... Bruno Desthuilliers
- Re: Automatic Generation of Python Cl... Hrvoje Niksic
- Re: Automatic Generation of Python Class File... Diez B. Roggisch
- Re: Automatic Generation of Python Class ... Sunburned Surveyor
- Re: Automatic Generation of Python Class File... Bruno Desthuilliers
- Re: Automatic Generation of Python Class ... Sunburned Surveyor
- Re: Automatic Generation of Python Cl... Bruno Desthuilliers
- Re: Automatic Generation of Python Class Files Bruno Desthuilliers