Add whatsnew note for GH-22904 (#24672)

This commit is contained in:
Dennis Sweeney 2021-02-28 16:32:04 -05:00 committed by GitHub
parent 73a85c4e1d
commit e8f5ddd33e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -615,6 +615,11 @@ Optimizations
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`)
* Substring search functions such as ``str1 in str2`` and ``str2.find(str1)``
now sometimes use Crochemore & Perrin's "Two-Way" string searching
algorithm to avoid quadratic behavior on long strings. (Contributed
by Dennis Sweeney in :issue:`41972`)
Deprecated
==========