[issue13624] UTF-8 encoder performance regression in python3.3

STINNER Victor report at bugs.python.org
Sun Dec 18 20:45:56 CET 2011


STINNER Victor <victor.stinner at 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 <report at bugs.python.org>
<http://bugs.python.org/issue13624>
_______________________________________


More information about the Python-bugs-list mailing list