Speed of string += string

Daniel Berlin dberlin at dberlin.org
Mon Apr 14 13:39:06 EDT 2003


On Sunday, April 13, 2003, at 01:26  PM, Courageous wrote:

>
>> But is that /guaranteed/ (as it is with STL), or does it just happen 
>> to be
>> that way with the current implementation (however unlikely it is to
>> change)?
>
> It's amortized. It's a highly tuned hash table. Python doesn't have
> implementation _specs_ (requirements) in the nature of STL.

Right.
This is because nobody could determine what country Tim Peters *really* 
represents, so we couldn't form an ISO committee to spend 5 years doing 
it.
>
> C//
>
> -- 
> http://mail.python.org/mailman/listinfo/python-list






More information about the Python-list mailing list