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

Martin v. Löwis report at bugs.python.org
Sun Dec 18 20:41:24 CET 2011


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

> Oooh, it's just faster because encoding ASCII to UTF-8 is now O(1)

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

----------

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


More information about the Python-bugs-list mailing list