[issue30815] StringIO uses inefficient PyUnicode_AsUCS4
STINNER Victor
report at bugs.python.org
Fri Jun 30 08:31:05 EDT 2017
STINNER Victor added the comment:
There was a discussion to use an adaptative implementation depending *how* the API is used. Write only is different than write, seek back, write, read, seek, etc.
The idea was used unicode writer when it's the most efficient, write only, and switch to something else (ex: current code) when other methods are used.
See bpo-15612.
----------
nosy: +haypo, pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30815>
_______________________________________
More information about the Python-bugs-list
mailing list