[Tutor] String concatenation too slow

Kent Johnson kent37 at tds.net
Tue Jul 1 12:26:03 CEST 2008


On Tue, Jul 1, 2008 at 5:25 AM, W W <srilyk at gmail.com> wrote:

> You might find this study/links to be helpful! We just had a
> discussion on this very concept, my guess is that you'll find the
> results informative, and especially helpful.

There is also an interesting recent thread on comp.lang.python:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/cdef678dd995c54f/2af9e9eed46bf18c?lnk=gst

One thing I didn't know is that the optimization for string += only
occurs in some specific circumstances.

Kent


More information about the Tutor mailing list