STINNER Victor <victor.stin...@haypocalc.com> added the comment:

> It's actually still O(n): the UTF-8 data still need to be copied
> into a bytes object.

Hum, correct, but a memory copy is much faster than having to decode UTF-8.

----------

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

Reply via email to