[issue37348] Optimize PyUnicode_GetString for short ASCII strings

Inada Naoki report at bugs.python.org
Thu Jun 20 12:32:09 EDT 2019


Inada Naoki <songofacandy at gmail.com> added the comment:

Oh, wait.  Why we used _PyUnicodeWriter here?
Decoding UTF-8 must not require it.  2-pass is enough.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37348>
_______________________________________


More information about the Python-bugs-list mailing list