summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-09-21 21:06:27 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-09-21 21:06:27 (GMT)
commitf96418de05fc8710f9dc1e3a19878f8e744956f2 (patch)
tree6882ce050257fcb75357680e20d92d58f4e9acc9 /Doc
parentba4529593877f2016215149912496e030782a57e (diff)
downloadcpython-f96418de05fc8710f9dc1e3a19878f8e744956f2.zip
cpython-f96418de05fc8710f9dc1e3a19878f8e744956f2.tar.gz
cpython-f96418de05fc8710f9dc1e3a19878f8e744956f2.tar.bz2
Issue #24870: Optimize the ASCII decoder for error handlers: surrogateescape,
ignore and replace. Initial patch written by Naoki Inada. The decoder is now up to 60 times as fast for these error handlers. Add also unit tests for the ASCII decoder.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.6.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
index 48ff38a..8a2b5d3 100644
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -106,7 +106,8 @@ operator
Optimizations
=============
-* None yet.
+* The ASCII decoder is now up to 60 times as fast for error handlers:
+ ``surrogateescape``, ``ignore`` and ``replace``.
Build and C API Changes