summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-12-18 13:22:26 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-12-18 13:22:26 (GMT)
commit6099a032028e7d93d40741f1cda792407a635dc7 (patch)
treef56c252110be125ab7d58beef7d924348474142f /Doc/whatsnew
parentb66dcb66ba901c78806d6c76b61b4095c50990cf (diff)
downloadcpython-6099a032028e7d93d40741f1cda792407a635dc7.zip
cpython-6099a032028e7d93d40741f1cda792407a635dc7.tar.gz
cpython-6099a032028e7d93d40741f1cda792407a635dc7.tar.bz2
Issue #13624: Write a specialized UTF-8 encoder to allow more optimization
The main bottleneck was the PyUnicode_READ() macro.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.3.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst
index 4f54b69..8ca94c9 100644
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -712,7 +712,9 @@ Major performance enhancements have been added:
* the memory footprint is divided by 2 to 4 depending on the text
* encode an ASCII string to UTF-8 doesn't need to encode characters anymore,
the UTF-8 representation is shared with the ASCII representation
- * getting a substring of a latin1 strings is 4 times faster
+ * the UTF-8 encoder has been optimized
+ * repeating a single ASCII letter and getting a substring of a ASCII strings
+ is 4 times faster
Build and C API Changes