Skip to content

Commit e8f5ddd

Browse files
authored
Add whatsnew note for GH-22904 (#24672)
1 parent 73a85c4 commit e8f5ddd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/whatsnew/3.10.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,11 @@ Optimizations
615615
bytecode level. It is now around 100% faster to create a function with parameter
616616
annotations. (Contributed by Yurii Karabas and Inada Naoki in :issue:`42202`)
617617
618+
* Substring search functions such as ``str1 in str2`` and ``str2.find(str1)``
619+
now sometimes use Crochemore & Perrin's "Two-Way" string searching
620+
algorithm to avoid quadratic behavior on long strings. (Contributed
621+
by Dennis Sweeney in :issue:`41972`)
622+
618623
Deprecated
619624
==========
620625

0 commit comments

Comments
 (0)