[issue37348] Optimize PyUnicode_GetString for short ASCII strings
Inada Naoki
report at bugs.python.org
Fri Jun 21 13:10:02 EDT 2019
Inada Naoki <songofacandy at gmail.com> added the comment:
PR 14291 seems simpler than PR 14283. But PR 14283 is faster because _PyUnicodeWriter is a learge struct.
master: 3.7sec
PR 14283: 2.9sec
PR 14291: 3.45sec
compiler: gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0
without LTO, without PGO
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37348>
_______________________________________
More information about the Python-bugs-list
mailing list