summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2021-03-04 01:29:29 (GMT)
committerGitHub <noreply@github.com>2021-03-04 01:29:29 (GMT)
commit8747c1f233fc1a3dd5ee3d8e163317f28b4d7568 (patch)
treefd540116e6fdb917744d882ba09aa80825a0c79c /Doc
parent0632b1012d4dfa81ffef0d686a4710f6134f77a8 (diff)
downloadcpython-8747c1f233fc1a3dd5ee3d8e163317f28b4d7568.zip
cpython-8747c1f233fc1a3dd5ee3d8e163317f28b4d7568.tar.gz
cpython-8747c1f233fc1a3dd5ee3d8e163317f28b4d7568.tar.bz2
Improve the description of the improvements in bpo-42202 (GH-24738)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.10.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index ae76243..db71f06 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -903,8 +903,9 @@ Optimizations
* Function parameters and their annotations are no longer computed at runtime,
but rather at compilation time. They are stored as a tuple of strings at the
- bytecode level. It is now around 100% faster to create a function with parameter
- annotations. (Contributed by Yurii Karabas and Inada Naoki in :issue:`42202`)
+ bytecode level. It is now around 2 times faster to create a function with
+ parameter annotations. (Contributed by Yurii Karabas and Inada Naoki
+ in :issue:`42202`)
* Substring search functions such as ``str1 in str2`` and ``str2.find(str1)``
now sometimes use Crochemore & Perrin's "Two-Way" string searching