A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-December/031130.html below:

[Python-Dev] Possible low-hanging optimization

[Python-Dev] Possible low-hanging optimization [Python-Dev] Possible low-hanging optimizationDavid Abrahams dave@boost-consulting.com
Thu, 12 Dec 2002 16:09:09 -0500
Skip Montanaro <skip@pobox.com> writes:

>     Guido> For classic classes, it would be too much of a break with
>     Guido> history.
>
> In addition, since most classes exist to associate state with methods that
> operate on it you'd probably only be delaying the creation of self.__dict__
> by a few milliseconds in the common case.

That's why I mentioned that it might help for new-style classes with
__slots__.

-- 
                       David Abrahams
   dave@boost-consulting.com * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4