The future of Python immutability
Simon Brunning
simon at brunningonline.net
Mon Sep 7 04:09:29 EDT 2009
2009/9/7 Terry Reedy <tjreedy at udel.edu>:
> Dennis Lee Bieber wrote:
>> I'd say the
>> mutables are in the majority <G>
>
> I think it depends on whether one counts classes or instances. Typical programs have a lot of numbers and strings.
Ah, but immutable instances can be, and often are, interned. This will
cut down on their number considerably. ;-)
--
Cheers,
Simon B.
More information about the Python-list
mailing list