René's URL Explorer Experiment


Title: gh-150184: difflib C accelerator by blhsing · Pull Request #150188 · python/cpython · GitHub

Open Graph Title: gh-150184: difflib C accelerator by blhsing · Pull Request #150188 · python/cpython

X Title: gh-150184: difflib C accelerator by blhsing · Pull Request #150188 · python/cpython

Description: #150184 Issue: gh-150184

Open Graph Description: #150184 Issue: gh-150184

X Description: #150184 Issue: gh-150184

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:deba39d4-47f0-153b-0652-f975bdb0efe2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8ADA:2454CC:4657E6F:5915F4F:6B023F74
html-safe-nonce90a01ae644212732e1b45093a9c321d8e05b2e3314c722ccc411ecc278b49a71
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QURBOjI0NTRDQzo0NjU3RTZGOjU5MTVGNEY6NkIwMjNGNzQiLCJ2aXNpdG9yX2lkIjoiODgxMTEwNzk5Nzc0MTg5MTQ0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0eea5507852c6a9928155607f22c11a532ae31be546a9ab478923f0a8f42c880
hovercard-subject-tagpull_request:3722661065
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/150188/files
twitter:imagehttps://avatars.githubusercontent.com/u/6724692?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/6724692?s=400&v=4
og:image:alt#150184 Issue: gh-150184
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/150188/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F150188%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F150188%2Ffiles
Sign uphttps://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/150188/files
Reloadhttps://github.com/python/cpython/pull/150188/files
Reloadhttps://github.com/python/cpython/pull/150188/files
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
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
blhsinghttps://github.com/blhsing
python:mainhttps://github.com/python/cpython/tree/main
blhsing:difflib-c-acceleratorhttps://github.com/blhsing/cpython/tree/difflib-c-accelerator
Conversation 3 https://github.com/python/cpython/pull/150188
Commits 3 https://github.com/python/cpython/pull/150188/commits
Checks 52 https://github.com/python/cpython/pull/150188/checks
Files changed https://github.com/python/cpython/pull/150188/files
Please reload this pagehttps://github.com/python/cpython/pull/150188/files
gh-150184: difflib C accelerator https://github.com/python/cpython/pull/150188/files#top
Show all changes 3 commits https://github.com/python/cpython/pull/150188/files
d00e56b Split difflib into pure-Python reference and public shim blhsing May 21, 2026 https://github.com/python/cpython/pull/150188/commits/d00e56be3398e7939df09cf32aa05328776ea00c
39822ae Add C accelerator for difflib.SequenceMatcher blhsing May 21, 2026 https://github.com/python/cpython/pull/150188/commits/39822ae181157a2a68f2811e60ce9afb7cf30c66
3de5c11 Run test_difflib against both pure-Python and C implementations blhsing May 21, 2026 https://github.com/python/cpython/pull/150188/commits/3de5c1136b4a7b6628688e42f42755eb97435c39
Clear filters https://github.com/python/cpython/pull/150188/files
Please reload this pagehttps://github.com/python/cpython/pull/150188/files
Please reload this pagehttps://github.com/python/cpython/pull/150188/files
difflib.rst https://github.com/python/cpython/pull/150188/files#diff-64337b6d8b3d74a9c7fd776e02911c7606d374d54ae4df9b47a966283584e148
pycore_global_objects_fini_generated.h https://github.com/python/cpython/pull/150188/files#diff-31f682b2a04cda997f449a9816ee5fae305e3bfa7357afcb794615921c6a88d2
pycore_global_strings.h https://github.com/python/cpython/pull/150188/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
pycore_runtime_init_generated.h https://github.com/python/cpython/pull/150188/files#diff-69a1fc720f0b1e9005cf7717dd81c823399da81dd2f6480664b51238c1ef93f0
pycore_unicodeobject_generated.h https://github.com/python/cpython/pull/150188/files#diff-510f6084b63d39305481b719ae0a29475ba759e259a8e4cee4f07c451ffbb2d6
_pydifflib.py https://github.com/python/cpython/pull/150188/files#diff-9ee5a2240453fccb22c6c76350126182401e8b92b60f758c659eee0bac958da4
difflib.py https://github.com/python/cpython/pull/150188/files#diff-4517a87c0d1215c3a18d0a4dffffc879ff09b86c522a5396a28c60090a397436
test_difflib.py https://github.com/python/cpython/pull/150188/files#diff-84f71b448766eaa44557d993669687080dd4c4bdb5c02de3104d415eaca202fd
2026-05-21-10-00-30.gh-issue-150184.P1MnrD.rst https://github.com/python/cpython/pull/150188/files#diff-a46c53a95b31019579453b393cf377a4190efeadcd5a1380a975077071973cea
Setup.stdlib.in https://github.com/python/cpython/pull/150188/files#diff-93b54a98829ea89eaf6335c02f546511f7780d865131407436b10a401ecd375c
_difflibmodule.c https://github.com/python/cpython/pull/150188/files#diff-f56074b35ce70a69f66c71e9d1d85980bf54cd464b28503ae28a6bd0cb59d7c5
_difflibmodule.c.h https://github.com/python/cpython/pull/150188/files#diff-6e70d58a6a9f7aaec6bb965768fe33cf6f73de44decd3d43c65a2efa38e3acc5
stdlib_module_names.h https://github.com/python/cpython/pull/150188/files#diff-152e0a1d932d06bae2302482de6c49082b62169699729700d445d4f588504af5
configure https://github.com/python/cpython/pull/150188/files#diff-90d08e583c4c9c6f391b2ae90f819f600a6326928ea9512c9e0c6d98e9f29ac2
configure.ac https://github.com/python/cpython/pull/150188/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810
Doc/library/difflib.rsthttps://github.com/python/cpython/pull/150188/files#diff-64337b6d8b3d74a9c7fd776e02911c7606d374d54ae4df9b47a966283584e148
View file https://github.com/blhsing/cpython/blob/3de5c1136b4a7b6628688e42f42755eb97435c39/Doc/library/difflib.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/150188/{{ revealButtonHref }}
https://github.com/python/cpython/pull/150188/files#diff-64337b6d8b3d74a9c7fd776e02911c7606d374d54ae4df9b47a966283584e148
https://github.com/python/cpython/pull/150188/files#diff-64337b6d8b3d74a9c7fd776e02911c7606d374d54ae4df9b47a966283584e148
Include/internal/pycore_global_objects_fini_generated.hhttps://github.com/python/cpython/pull/150188/files#diff-31f682b2a04cda997f449a9816ee5fae305e3bfa7357afcb794615921c6a88d2
View file https://github.com/blhsing/cpython/blob/3de5c1136b4a7b6628688e42f42755eb97435c39/Include/internal/pycore_global_objects_fini_generated.h
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/150188/files
Include/internal/pycore_global_strings.hhttps://github.com/python/cpython/pull/150188/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
View file https://github.com/blhsing/cpython/blob/3de5c1136b4a7b6628688e42f42755eb97435c39/Include/internal/pycore_global_strings.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/150188/{{ revealButtonHref }}
https://github.com/python/cpython/pull/150188/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
https://github.com/python/cpython/pull/150188/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
https://github.com/python/cpython/pull/150188/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
https://github.com/python/cpython/pull/150188/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
https://github.com/python/cpython/pull/150188/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf
Include/internal/pycore_runtime_init_generated.hhttps://github.com/python/cpython/pull/150188/files#diff-69a1fc720f0b1e9005cf7717dd81c823399da81dd2f6480664b51238c1ef93f0
View file https://github.com/blhsing/cpython/blob/3de5c1136b4a7b6628688e42f42755eb97435c39/Include/internal/pycore_runtime_init_generated.h
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/150188/files
Include/internal/pycore_unicodeobject_generated.hhttps://github.com/python/cpython/pull/150188/files#diff-510f6084b63d39305481b719ae0a29475ba759e259a8e4cee4f07c451ffbb2d6
View file https://github.com/blhsing/cpython/blob/3de5c1136b4a7b6628688e42f42755eb97435c39/Include/internal/pycore_unicodeobject_generated.h
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/150188/files
Please reload this pagehttps://github.com/python/cpython/pull/150188/files
Please reload this pagehttps://github.com/python/cpython/pull/150188/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.