[Python-checkins] Improve the description of the improvements in bpo-42202 (GH-24738)

pablogsal webhook-mailer at python.org
Wed Mar 3 20:29:34 EST 2021


https://github.com/python/cpython/commit/8747c1f233fc1a3dd5ee3d8e163317f28b4d7568
commit: 8747c1f233fc1a3dd5ee3d8e163317f28b4d7568
branch: master
author: Pablo Galindo <Pablogsal at gmail.com>
committer: pablogsal <Pablogsal at gmail.com>
date: 2021-03-04T01:29:29Z
summary:

Improve the description of the improvements in bpo-42202 (GH-24738)

files:
M Doc/whatsnew/3.10.rst

diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index ae76243bafb7c..db71f061f14df 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



More information about the Python-checkins mailing list