Serhiy Storchaka <storch...@gmail.com> added the comment:

> Main note: the patched test adds a space to the separator, but that is not 
> enough to account for the difference.

Sorry, I copied the wrong line.

$ ./python -m timeit -s "seq=[bytes([i]*100000) for i in range(256)]" "b' 
'.join(seq)"
10 loops, best of 3: 45.6 msec per loop

But the conclusions are not affected, for larger byte strings patched
version will be 1.5-2 times slower in limit.

----------

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

Reply via email to