On 05/19/2012 06:39 AM, Adam Tauno Williams wrote:
On Fri, 2012-05-18 at 09:53 -0700, Charles Hixson wrote:
Does __slots__ make access to variables more efficient?
Absolutely, yes.
If one uses property() to create a few read-only pseudo-variables, does
that negate the efficiency
On Fri, 2012-05-18 at 09:53 -0700, Charles Hixson wrote:
> Does __slots__ make access to variables more efficient?
Absolutely, yes.
> If one uses property() to create a few read-only pseudo-variables, does
> that negate the efficiency advantages of using __slots__?
> (Somehow I feel the documen
Does __slots__ make access to variables more efficient?
If one uses property() to create a few read-only pseudo-variables, does
that negate the efficiency advantages of using __slots__?
(Somehow I feel the documentation needs a bit of improvement.)
--
Charles Hixson
--
http://mail.python.org/m