[issue15612] Rewrite StringIO to use the _PyUnicodeWriter API

Antoine Pitrou report at bugs.python.org
Fri Aug 10 10:10:01 CEST 2012


Antoine Pitrou added the comment:

> It provides better performance when writing non-ASCII strings.

I would like to know why that is the case. If PyUnicode_Join is not optimal, then perhaps we should better optimize it.

Also, you should post benchmarks with tiny strings as well.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15612>
_______________________________________


More information about the Python-bugs-list mailing list