[pypy-issue] [issue926] string concatenation using + kills PyPy

Fijal tracker at bugs.pypy.org
Sun Nov 6 19:00:43 CET 2011

Fijal <fijall at gmail.com> added the comment:

To be precise - strings are immutable in Python. CPython has a hack that avoids 
doing a copy on string concatenation when refcount is 1. This isn't the case on 
pypy, where it's hard to check if refcount is 1 or not (there is no refcounting) 
and we don't implement this optimization. Hence, this is a wontfix.

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list