From: Pablo Galindo Date: Thu, 4 Mar 2021 01:29:29 +0000 (+0000) Subject: Improve the description of the improvements in bpo-42202 (GH-24738) X-Git-Tag: v3.10.0a7~203 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8747c1f233fc1a3dd5ee3d8e163317f28b4d7568;p=thirdparty%2FPython%2Fcpython.git Improve the description of the improvements in bpo-42202 (GH-24738) --- diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index ae76243bafb7..db71f061f14d 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