COMMITS
/ Objects/stringlib/fastsearch.h February 22, 2026
R
gh-145092: Fix compiler warning for memchr() and wcschr() returning const pointer (GH-145093)
Rudi Heitbaum committed
July 13, 2025
D
gh-127971: fix off-by-one read beyond the end of a string during search (#132574)
Duane Griffin committed
June 13, 2024
R
gh-120397: Optimize str.count() for single characters (#120398)
Ruben Vorderman committed
June 4, 2024
D
September 13, 2022
D
gh-94808: improve comments and coverage of fastsearch.h (GH-96760)
Dennis Sweeney committed
June 20, 2022
C
gh-84461: Silence some compiler warnings on WASM (GH-93978)
Christian Heimes committed
May 24, 2022
G
gh-93033: Use wmemchr in stringlib (GH-93034)
goldsteinn committed
July 19, 2021
D
bpo-41972: Tweak fastsearch.h string search algorithms (GH-27091)
Dennis Sweeney committed
May 22, 2021
E
Remove effbot urls (GH-26308)
E-Paine committed
February 28, 2021
D
bpo-41972: Use the two-way algorithm for string searching (GH-22904)
Dennis Sweeney committed
September 11, 2019
V
Doc: Fix typo in fastsearch comments (GH-14608)
Valentin Haenel committed
May 17, 2019
D
Fix couple of dead code paths (GH-7418)
David Carlier committed
March 30, 2017
S
bpo-24821: Fixed the slowing down to 25 times in the searching of some (#505)
Serhiy Storchaka committed
November 14, 2015
S
Issue #24821: Refactor STRINGLIB(fastsearch_memchr_1char) and split it on
Serhiy Storchaka committed
March 24, 2015
S
Issue #23573: Increased performance of string search operations (str.find,
Serhiy Storchaka committed
April 7, 2013
V
Close #13126: "Simplify" FASTSEARCH() code to help the compiler to emit more
Victor Stinner committed
January 15, 2013
S
Check for NULL before the pointer aligning in fastsearch_memchr_1char.
Serhiy Storchaka committed
September 20, 2012
August 2, 2012
V
Close #15534: Fix a typo in the fast search function of the string library (_s => s)
Victor Stinner committed
October 13, 2011
A
Add a comment explaining this heuristic.
Antoine Pitrou committed
A
Simplify heuristic for when to use memchr
Antoine Pitrou committed
October 11, 2011
V
Fix fastsearch for UCS2 and UCS4
Victor Stinner committed
A
Issue #13134: optimize finding single-character strings using memchr
Antoine Pitrou committed
September 28, 2011
M
Implement PEP 393.
Martin v. Löwis committed
August 8, 2010
F
Fix #8530: Prevent stringlib fastsearch from reading beyond the front of an array.
Florent Xicluna committed
January 13, 2010
A
Merged revisions 77469-77470 via svnmerge from
Antoine Pitrou committed
A
Merged revisions 77461 via svnmerge from
Antoine Pitrou committed
January 2, 2010
A
Merged revisions 77241 via svnmerge from
Antoine Pitrou committed
January 23, 2009
B
Merged revisions 68750,68776-68777,68811,68842,68859 via svnmerge from
Benjamin Peterson committed
May 27, 2006
T
Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Thomas Wouters committed