Skip to content

Commit 8747c1f

Browse files
authored
Improve the description of the improvements in bpo-42202 (GH-24738)
1 parent 0632b10 commit 8747c1f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/whatsnew/3.10.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -903,8 +903,9 @@ Optimizations
903903
904904
* Function parameters and their annotations are no longer computed at runtime,
905905
but rather at compilation time. They are stored as a tuple of strings at the
906-
bytecode level. It is now around 100% faster to create a function with parameter
907-
annotations. (Contributed by Yurii Karabas and Inada Naoki in :issue:`42202`)
906+
bytecode level. It is now around 2 times faster to create a function with
907+
parameter annotations. (Contributed by Yurii Karabas and Inada Naoki
908+
in :issue:`42202`)
908909
909910
* Substring search functions such as ``str1 in str2`` and ``str2.find(str1)``
910911
now sometimes use Crochemore & Perrin's "Two-Way" string searching

0 commit comments

Comments
 (0)