[Python-Dev] Usage of += on strings in loops in stdlib
solipsis at pitrou.net
Wed Feb 13 08:14:33 CET 2013
On Wed, 13 Feb 2013 00:28:15 +0100
Christian Heimes <christian at python.org> wrote:
> Am 12.02.2013 22:32, schrieb Antoine Pitrou:
> > For the record, io.StringIO should be quite fast in 3.3.
> > (except for the method call overhead that Guido is complaining
> > about :-))
> AFAIK it's not the actual *call* of the method that is slow, but rather
> attribute lookup and creation of bound method objects.
Take a look at http://bugs.python.org/issue17170
More information about the Python-Dev