[Python-Dev] Optimized string concatenation

Armin Rigo arigo at tunes.org
Tue Aug 3 16:58:56 CEST 2004


Hello Raymond,

On Mon, Aug 02, 2004 at 10:24:03PM -0400, Raymond Hettinger wrote:
> The explanation is not hard.  The CPython implementation can concatenate
> inplace two term expressions of the form a=a+b or a+=b.  Expressions
> with more terms are not eligible for inplace concatenation.

No: a+=b+c is eligible.  That's my problem.


Armin


More information about the Python-Dev mailing list