René's URL Explorer Experiment


Title: bpo-41972: Use the "Two-Way" algorithm when searching for long substrings by sweeneyde · Pull Request #22679 · python/cpython · GitHub

Open Graph Title: bpo-41972: Use the "Two-Way" algorithm when searching for long substrings by sweeneyde · Pull Request #22679 · python/cpython

X Title: bpo-41972: Use the "Two-Way" algorithm when searching for long substrings by sweeneyde · Pull Request #22679 · python/cpython

Description: https://bugs.python.org/issue41972

Open Graph Description: https://bugs.python.org/issue41972

X Description: https://bugs.python.org/issue41972

Opengraph URL: https://github.com/python/cpython/pull/22679

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4746d37c-0b97-89d8-8259-0dd1f016e3b2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id85CE:258BE8:198B7E5:21E6E23:696AEFD0
html-safe-nonce940532a864a5f7ca267bf92ff6ee2481ffead150562ee59782228ba898ba7690
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUNFOjI1OEJFODoxOThCN0U1OjIxRTZFMjM6Njk2QUVGRDAiLCJ2aXNpdG9yX2lkIjoiMjcwMzQ0Mzg5MTgwODAzODg2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2eecfeb93bf2e4d404bff404e98bacc5fb39a511fee2305d5122f546bb0ddc25
hovercard-subject-tagpull_request:501881260
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/22679/files
twitter:imagehttps://avatars.githubusercontent.com/u/36520290?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/36520290?s=400&v=4
og:image:althttps://bugs.python.org/issue41972
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/22679/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F22679%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F22679%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/22679/files
Reloadhttps://github.com/python/cpython/pull/22679/files
Reloadhttps://github.com/python/cpython/pull/22679/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/22679/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/22679/files
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
sweeneydehttps://github.com/sweeneyde
python:masterhttps://github.com/python/cpython/tree/master
sweeneyde:two-wayhttps://github.com/sweeneyde/cpython/tree/two-way
Conversation 9 https://github.com/python/cpython/pull/22679
Commits 21 https://github.com/python/cpython/pull/22679/commits
Checks 0 https://github.com/python/cpython/pull/22679/checks
Files changed https://github.com/python/cpython/pull/22679/files
Please reload this pagehttps://github.com/python/cpython/pull/22679/files
bpo-41972: Use the "Two-Way" algorithm when searching for long substrings https://github.com/python/cpython/pull/22679/files#top
Show all changes 21 commits https://github.com/python/cpython/pull/22679/files
899f289 initial implementation sweeneyde Oct 11, 2020 https://github.com/python/cpython/pull/22679/commits/899f2894c22575f12c80081aae8959af5e8ada2e
743a382 refactoring sweeneyde Oct 12, 2020 https://github.com/python/cpython/pull/22679/commits/743a382f447f38ccd31c98db0e215c1f6293e88a
fdb6800 formatting fixes sweeneyde Oct 12, 2020 https://github.com/python/cpython/pull/22679/commits/fdb68009f7c4ef4d9c549b6a0e5bcc76926b90d3
737ac8a add shift and bloom sweeneyde Oct 12, 2020 https://github.com/python/cpython/pull/22679/commits/737ac8a3a328e0c5f00a918e6e8308d42a878917
658038d 📜🤖 Added by blurb_it. blurb-it[bot] Oct 12, 2020 https://github.com/python/cpython/pull/22679/commits/658038d575e519c05d9b734b0f5f3f7ea988193b
b62e4c6 add alternating find_char calls sweeneyde Oct 14, 2020 https://github.com/python/cpython/pull/22679/commits/b62e4c69d31a3bc6cb50a235e7288105712617dd
25a61fb USe a shift table sweeneyde Oct 14, 2020 https://github.com/python/cpython/pull/22679/commits/25a61fb596f3c640d4efda445d1a4f6610aa4c5c
64b9a0a compute a shift for the last character sweeneyde Oct 14, 2020 https://github.com/python/cpython/pull/22679/commits/64b9a0a3e54ed863a88610ce602f0ce90502d0af
5568ca2 Remove unnecessary special case sweeneyde Oct 14, 2020 https://github.com/python/cpython/pull/22679/commits/5568ca2b75006791ceeec6a310822530031e97e3
f2054e0 Merge branch 'two-way' of https://github.com/sweeneyde/cpython into t… sweeneyde Oct 14, 2020 https://github.com/python/cpython/pull/22679/commits/f2054e008ceb1ef4f2e668530bc1bc6847db56ee
415f492 removed unneeded shift computation sweeneyde Oct 15, 2020 https://github.com/python/cpython/pull/22679/commits/415f49253d787a8f6a3118efac775b2d8dfd686e
06c3678 restore original code with special case for long needles sweeneyde Oct 17, 2020 https://github.com/python/cpython/pull/22679/commits/06c3678ba3661bce4ddbb2cf8b39b55f562849d0
89bdc34 Minor code cleanups sweeneyde Oct 17, 2020 https://github.com/python/cpython/pull/22679/commits/89bdc3459cc63cc2c2d8be6ef9ec8b66f9550d31
9d7bbc3 Restore comment and fix typo sweeneyde Oct 17, 2020 https://github.com/python/cpython/pull/22679/commits/9d7bbc38ddcdc640779e511f785a461d08cadf14
c331307 Update 2020-10-12-23-46-49.bpo-41972.0pHodE.rst sweeneyde Oct 17, 2020 https://github.com/python/cpython/pull/22679/commits/c3313075db46012570f2e754414ae8942b03a41e
66377ce Add test cases catered to the new algorithm sweeneyde Oct 17, 2020 https://github.com/python/cpython/pull/22679/commits/66377cee02500bafc633bc343ad63f5801577de7
e718e5a Merge branch 'two-way' of https://github.com/sweeneyde/cpython into t… sweeneyde Oct 17, 2020 https://github.com/python/cpython/pull/22679/commits/e718e5afb149c336f0c20f7849eb00d713d80acc
cf4e398 Fix typo sweeneyde Oct 17, 2020 https://github.com/python/cpython/pull/22679/commits/cf4e398e941fe810eb0bea00d4ad9c87fb2f98bc
3933992 add a cutoff for haystack length sweeneyde Oct 19, 2020 https://github.com/python/cpython/pull/22679/commits/39339921ee7a52001f5fd7636637c81052b639da
c8e54c6 simplify a couple of lines sweeneyde Oct 19, 2020 https://github.com/python/cpython/pull/22679/commits/c8e54c6eb86bf80e163543040f72eefd59e54bd2
8208853 Add better threshholds sweeneyde Oct 19, 2020 https://github.com/python/cpython/pull/22679/commits/820885368bca9ec01b5536bbd9fc789ba1e9bf3e
Clear filters https://github.com/python/cpython/pull/22679/files
Please reload this pagehttps://github.com/python/cpython/pull/22679/files
Please reload this pagehttps://github.com/python/cpython/pull/22679/files
string_tests.py https://github.com/python/cpython/pull/22679/files#diff-7d8595e2ffcdcbf3222473c387d3f3da8344cfccd6e460dba3e726d2220ab0a7
2020-10-12-23-46-49.bpo-41972.0pHodE.rst https://github.com/python/cpython/pull/22679/files#diff-3a4fdca6afa19bd805798cbf948d54a32ca15823e1e47f63e48f42a2248e6c6c
fastsearch.h https://github.com/python/cpython/pull/22679/files#diff-67ae1b84396bc0119774489a3e62be151a8e1b1317a63c540f976d57d3e0489d
Lib/test/string_tests.pyhttps://github.com/python/cpython/pull/22679/files#diff-7d8595e2ffcdcbf3222473c387d3f3da8344cfccd6e460dba3e726d2220ab0a7
View file https://github.com/sweeneyde/cpython/blob/820885368bca9ec01b5536bbd9fc789ba1e9bf3e/Lib/test/string_tests.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/22679/{{ revealButtonHref }}
https://github.com/python/cpython/pull/22679/files#diff-7d8595e2ffcdcbf3222473c387d3f3da8344cfccd6e460dba3e726d2220ab0a7
https://github.com/python/cpython/pull/22679/files#diff-7d8595e2ffcdcbf3222473c387d3f3da8344cfccd6e460dba3e726d2220ab0a7
https://github.com/python/cpython/pull/22679/files#diff-7d8595e2ffcdcbf3222473c387d3f3da8344cfccd6e460dba3e726d2220ab0a7
https://github.com/python/cpython/pull/22679/files#diff-7d8595e2ffcdcbf3222473c387d3f3da8344cfccd6e460dba3e726d2220ab0a7
Misc/NEWS.d/next/Core and Builtins/2020-10-12-23-46-49.bpo-41972.0pHodE.rsthttps://github.com/python/cpython/pull/22679/files#diff-3a4fdca6afa19bd805798cbf948d54a32ca15823e1e47f63e48f42a2248e6c6c
View file https://github.com/sweeneyde/cpython/blob/820885368bca9ec01b5536bbd9fc789ba1e9bf3e/Misc/NEWS.d/next/Core%20and%20Builtins/2020-10-12-23-46-49.bpo-41972.0pHodE.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/22679/{{ revealButtonHref }}
Please reload this pagehttps://github.com/python/cpython/pull/22679/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.