[Python-ideas] Create a StringBuilder class and use it everywhere
Amaury Forgeot d'Arc
amauryfa at gmail.com
Fri Aug 26 09:14:19 CEST 2011
2011/8/26 Greg Ewing <greg.ewing at canterbury.ac.nz>
> 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.
The author of this optimization is also the lead designer of PyPy...
--
Amaury Forgeot d'Arc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20110826/2e5120a2/attachment.html>
More information about the Python-ideas
mailing list