[Python-ideas] Create a StringBuilder class and use it everywhere
Greg Ewing
greg.ewing at canterbury.ac.nz
Fri Aug 26 02:27:05 CEST 2011
k_bx wrote:
> The most popular (as from what I can see) thing right now where people start seeing
> that += is slow is when they try to do that on PyPy (which doesn't have hack like CPython,
> who is still slow) and ask "why my pypy code is sooooo slow".
To me that suggests it may have been a mistake to try to
optimise += at all in CPython, as it gives people misleading
expectations.
--
Greg
More information about the Python-ideas
mailing list