Speed of string += string

Courageous jkraska at san.rr.com
Sun Apr 13 13:26:31 EDT 2003


>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.

C//





More information about the Python-list mailing list