It's ok to __slots__ for what they were intended

MrJean1 MrJean1 at gmail.com
Fri Dec 21 17:19:09 EST 2007


You are correct.  Mea culpa.

/Jean Brouwers



On Dec 21, 1:41 pm, Fredrik Lundh <fred... at pythonware.com> wrote:
> MrJean1 wrote:
> > My milage does vary, see this older post
>
> >   <http://mail.python.org/pipermail/python-list/2004-May/261985.html>
>
> > Similar figures are shown with Python 2.5, both for 32- and 64-bit.
>
> unless I'm missing something, you're measuring object creation time.
>
> I'm measuring attribute access time (the topic was "navigating large
> trees of small objects", not building them).
>
> </F>




More information about the Python-list mailing list