summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2019-05-16 06:03:20 (GMT)
committerGitHub <noreply@github.com>2019-05-16 06:03:20 (GMT)
commitbfba8c373e362d48d4ee0e0cf55b8d9c169344ae (patch)
tree9d4b08e0f31c6a264d189d6331eaa051461ea69f /Misc
parent8a533ffb499b168ed4bdb707c9919290631e267d (diff)
downloadcpython-bfba8c373e362d48d4ee0e0cf55b8d9c169344ae.zip
cpython-bfba8c373e362d48d4ee0e0cf55b8d9c169344ae.tar.gz
cpython-bfba8c373e362d48d4ee0e0cf55b8d9c169344ae.tar.bz2
bpo-36748: optimize TextIOWrapper.write() for ASCII string (GH-13002)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-04-29-15-18-13.bpo-36748.YBKWps.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-04-29-15-18-13.bpo-36748.YBKWps.rst b/Misc/NEWS.d/next/Library/2019-04-29-15-18-13.bpo-36748.YBKWps.rst
new file mode 100644
index 0000000..0eacc3c
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-04-29-15-18-13.bpo-36748.YBKWps.rst
@@ -0,0 +1,3 @@
+Optimized write buffering in C implementation of ``TextIOWrapper``. Writing
+ASCII string to ``TextIOWrapper`` with ascii, latin1, or utf-8 encoding is
+about 20% faster. Patch by Inada Naoki.