Glyph Lefkowitz added the comment:

On Jan 22, 2013, at 11:31 PM, Martin v. Löwis <rep...@bugs.python.org> wrote:

> I admit that it is puzzling that string interpolation is apparently the 
> fastest way to assemble byte strings. It involves parsing the format string, 
> so it ought to be slower than anything that merely concatenates (such as 
> cStringIO). (I do understand why + is inefficient, as it creates temporary 
> objects)

You're correct about this; see my previous comment.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue3982>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to