mirror of
https://github.com/python/cpython
synced 2024-10-14 12:30:01 +00:00
Improve the description of the improvements in bpo-42202 (GH-24738)
This commit is contained in:
parent
0632b1012d
commit
8747c1f233
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue