[issue3459] optimize bytes.join()

Martin v. Löwis report at bugs.python.org
Sat Aug 2 19:22:58 CEST 2008


Martin v. Löwis <martin at v.loewis.de> added the comment:

I dislike this change, not because of the potential slowdown, but
because of the added code complexity.

How plausible is it that you want to join a list of bytes objects, and
the list has more than one item, yet all but one item are empty? If you
have such an application, and performance matters, you shouldn't add the
empty bytes to the list in the first place.

Tentatively rejecting the patch.

----------
resolution:  -> rejected
status: open -> pending

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3459>
_______________________________________


More information about the Python-bugs-list mailing list