]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Improve the description of the improvements in bpo-42202 (GH-24738)
authorPablo Galindo <Pablogsal@gmail.com>
Thu, 4 Mar 2021 01:29:29 +0000 (01:29 +0000)
committerGitHub <noreply@github.com>
Thu, 4 Mar 2021 01:29:29 +0000 (01:29 +0000)
Doc/whatsnew/3.10.rst

index ae76243bafb7c67e5bdbf62c31166ed25baa7378..db71f061f14df4585def3bb35876641c8069fcaf 100644 (file)
@@ -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