On Sep 26, 8:53 pm, Carl Banks <[EMAIL PROTECTED]> wrote:
> It might still end up being slower (creating slot descriptors might
> take more time for all I know) but it's more than just an effect of
> less memory.

Actually scratch that.  Descriptors are only created when the type
object is created.  I can't think of anything that would need to be
done in an instance only if no dict is present, so using slots
probably almost certianly makes object creation faster.  Still, the
last word is the profiler.


Carl Banks
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to