[issue30815] StringIO uses inefficient PyUnicode_AsUCS4
STINNER Victor
report at bugs.python.org
Fri Jun 30 09:39:18 EDT 2017
STINNER Victor added the comment:
"FYI, https://github.com/python/performance/pull/27 will fix performance regression. Python 3 performance is similar to Python 2 after s/warn/warning/"
I was surprised to see that Logger.warn() is slower than Logger.warning()! It is because warn() emits a deprecation warning, thing which isn't cheap...
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30815>
_______________________________________
More information about the Python-bugs-list
mailing list