[issue27818] Speed up number format spec parsing

STINNER Victor report at bugs.python.org
Tue Aug 30 10:15:40 EDT 2016


STINNER Victor added the comment:

> Moving some functions to template file adds yet about 2%. This is too small for adding new file.

I agree. I checked just after writing my previous comment and in fact
str%args doesn't use a C template neither, it also uses
PyUnicode_READ() which is fine. The code is probably already fast
enough.

----------

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


More information about the Python-bugs-list mailing list