Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.3k
(2.3k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Objects
stringlib
fastsearch.h
on
3.10
User selector
All users
Datepicker
All time
Commit history
Commits on May 2, 2022
[3.10] bpo-43504: Remove effbot urls (GH-26308) (#92161)
Show description for c8ab163
pr-watson
and
E-Paine
authored
c8ab163
View commit details
Copy full SHA for c8ab163
View code at this point
Browse repository at this point
Commits on Feb 28, 2021
bpo-41972: Use the two-way algorithm for string searching (GH-22904)
Show description for 73a85c4
sweeneyde
and
tim-one
authored
73a85c4
View commit details
Copy full SHA for 73a85c4
View code at this point
Browse repository at this point
Commits on Sep 11, 2019
Doc: Fix typo in fastsearch comments (GH-14608)
esc
authored and
matrixise
committed
60bba83
View commit details
Copy full SHA for 60bba83
View code at this point
Browse repository at this point
Commits on May 17, 2019
Fix couple of dead code paths (GH-7418)
David Carlier
authored and
csabella
committed
27ee0f8
View commit details
Copy full SHA for 27ee0f8
View code at this point
Browse repository at this point
Commits on Mar 30, 2017
bpo-24821: Fixed the slowing down to 25 times in the searching of some (#505)
Show description for 0a58f72
serhiy-storchaka
authored
0a58f72
View commit details
Copy full SHA for 0a58f72
View code at this point
Browse repository at this point
Commits on Nov 14, 2015
Issue #24821: Refactor STRINGLIB(fastsearch_memchr_1char) and split it on
Show description for 413fdce
serhiy-storchaka
committed
413fdce
View commit details
Copy full SHA for 413fdce
View code at this point
Browse repository at this point
Commits on Mar 24, 2015
Issue #23573: Increased performance of string search operations (str.find,
Show description for d9d769f
serhiy-storchaka
committed
d9d769f
View commit details
Copy full SHA for d9d769f
View code at this point
Browse repository at this point
Commits on Apr 7, 2013
Close #13126: "Simplify" FASTSEARCH() code to help the compiler to emit more
Show description for 7efa3b8
vstinner
committed
7efa3b8
View commit details
Copy full SHA for 7efa3b8
View code at this point
Browse repository at this point
Commits on Jan 15, 2013
Check for NULL before the pointer aligning in fastsearch_memchr_1char.
Show description for 18ba40b
serhiy-storchaka
committed
18ba40b
View commit details
Copy full SHA for 18ba40b
View code at this point
Browse repository at this point
Commits on Sep 20, 2012
Issue #15144: Fix possible integer overflow when handling pointers as integer values, by using Py_uintptr_t instead of size_t.
Show description for ca8aa4a
pitrou
committed
ca8aa4a
View commit details
Copy full SHA for ca8aa4a
View code at this point
Browse repository at this point
Commits on Aug 2, 2012
Close #15534: Fix a typo in the fast search function of the string library (_s => s)
Show description for b3f5501
vstinner
committed
b3f5501
View commit details
Copy full SHA for b3f5501
View code at this point
Browse repository at this point
Commits on Oct 17, 2011
Fix typo
pitrou
committed
5b9f4c1
View commit details
Copy full SHA for 5b9f4c1
View code at this point
Browse repository at this point
Commits on Oct 13, 2011
Add a comment explaining this heuristic.
pitrou
committed
c198d05
View commit details
Copy full SHA for c198d05
View code at this point
Browse repository at this point
Simplify heuristic for when to use memchr
pitrou
committed
dda339e
View commit details
Copy full SHA for dda339e
View code at this point
Browse repository at this point
Commits on Oct 11, 2011
Fix fastsearch for UCS2 and UCS4
Show description for 8cc70dc
Victor Stinner
committed
8cc70dc
View commit details
Copy full SHA for 8cc70dc
View code at this point
Browse repository at this point
Issue #13134: optimize finding single-character strings using memchr
pitrou
committed
2c3b230
View commit details
Copy full SHA for 2c3b230
View code at this point
Browse repository at this point
Commits on Sep 28, 2011
Implement PEP 393.
loewis
committed
d63a3b8
View commit details
Copy full SHA for d63a3b8
View code at this point
Browse repository at this point
Commits on Aug 8, 2010
Fix #8530: Prevent stringlib fastsearch from reading beyond the front of an array.
florentx
committed
eb6f3ea
View commit details
Copy full SHA for eb6f3ea
View code at this point
Browse repository at this point
Commits on Jan 13, 2010
Merged revisions 77469-77470 via svnmerge from
Show description for f068f94
pitrou
committed
f068f94
View commit details
Copy full SHA for f068f94
View code at this point
Browse repository at this point
Merged revisions 77461 via svnmerge from
Show description for f2c5484
pitrou
committed
f2c5484
View commit details
Copy full SHA for f2c5484
View code at this point
Browse repository at this point
Commits on Jan 2, 2010
Merged revisions 77241 via svnmerge from
Show description for da2ecaf
pitrou
committed
da2ecaf
View commit details
Copy full SHA for da2ecaf
View code at this point
Browse repository at this point
Commits on Jan 23, 2009
Merged revisions 68750,68776-68777,68811,68842,68859 via svnmerge from
Show description for aa06900
benjaminp
committed
aa06900
View commit details
Copy full SHA for aa06900
View code at this point
Browse repository at this point
Commits on May 27, 2006
Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Show description for 477c8d5
Yhg1s
committed
477c8d5
View commit details
Copy full SHA for 477c8d5
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.