summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2020-02-27 04:48:59 (GMT)
committerGitHub <noreply@github.com>2020-02-27 04:48:59 (GMT)
commit02a4d57263a9846de35b0db12763ff9e7326f62c (patch)
tree7055c08b72477a75014f9cc65f95ee5ec23d95da /Misc/NEWS.d
parent0c6e3aa67b84adb0fb7c272ae06b7ae77f832295 (diff)
downloadcpython-02a4d57263a9846de35b0db12763ff9e7326f62c.zip
cpython-02a4d57263a9846de35b0db12763ff9e7326f62c.tar.gz
cpython-02a4d57263a9846de35b0db12763ff9e7326f62c.tar.bz2
bpo-39087: Optimize PyUnicode_AsUTF8AndSize() (GH-18327)
Avoid using temporary bytes object.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2020-02-03-21-12-39.bpo-39087.YnbUpL.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2020-02-03-21-12-39.bpo-39087.YnbUpL.rst b/Misc/NEWS.d/next/Core and Builtins/2020-02-03-21-12-39.bpo-39087.YnbUpL.rst
new file mode 100644
index 0000000..847f78f
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2020-02-03-21-12-39.bpo-39087.YnbUpL.rst
@@ -0,0 +1,2 @@
+Optimize :c:func:`PyUnicode_AsUTF8` and :c:func:`PyUnicode_AsUTF8AndSize`
+slightly when they need to create internal UTF-8 cache.