This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients methane
Date 2017-06-30.12:26:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498825564.05.0.576507824205.issue30815@psf.upfronthosting.co.za>
In-reply-to
Content
From PEP393, PyUnicode_AsUCS4 is inefficient.
And C implementation of io.StringIO() uses it.

That's why Python 3 is slower than Python 2 on logging_format and logging_simple benchmarks.
https://mail.python.org/pipermail/speed/2017-February/000503.html

Maybe, it can use _PyUnicodeWriter APIs instead.
History
Date User Action Args
2017-06-30 12:26:04methanesetrecipients: + methane
2017-06-30 12:26:04methanesetmessageid: <1498825564.05.0.576507824205.issue30815@psf.upfronthosting.co.za>
2017-06-30 12:26:03methanelinkissue30815 messages
2017-06-30 12:26:03methanecreate