Speed of string += string

Martin v. Löwis martin at v.loewis.de
Sun Apr 13 06:15:55 EDT 2003


Mads Orbesen Troest <mads at troest.NEVERMORE.dk> writes:

> 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)?

The Python language "specification" makes no performance guarantees
whatsoever, primarily because it is a description of the current
implementation, and not an abstract prescription for implementations
of "the Python language". IOW, there is no Python language
specification.

Regards,
Martin





More information about the Python-list mailing list