René's URL Explorer Experiment


Title: bpo-45636: Simpler design for `BINARY_OP`/`INPLACE_OP` by brandtbucher · Pull Request #29418 · python/cpython · GitHub

Open Graph Title: bpo-45636: Simpler design for `BINARY_OP`/`INPLACE_OP` by brandtbucher · Pull Request #29418 · python/cpython

X Title: bpo-45636: Simpler design for `BINARY_OP`/`INPLACE_OP` by brandtbucher · Pull Request #29418 · python/cpython

Description: No perf impact: Details Benchmark main binary-op-alt nbody 118 ms 113 ms: 1.05x faster logging_silent 118 ns 114 ns: 1.04x faster xml_etree_iterparse 109 ms 106 ms: 1.03x faster go 172 ms 167 ms: 1.02x faster richards 57.8 ms 56.8 ms: 1.02x faster dulwich_log 67.7 ms 66.7 ms: 1.01x faster telco 6.33 ms 6.24 ms: 1.01x faster pickle_pure_python 369 us 364 us: 1.01x faster scimark_sparse_mat_mult 4.74 ms 4.69 ms: 1.01x faster hexiom 7.53 ms 7.44 ms: 1.01x faster meteor_contest 107 ms 106 ms: 1.01x faster xml_etree_parse 155 ms 154 ms: 1.01x faster pickle_list 4.58 us 4.56 us: 1.01x faster regex_compile 145 ms 144 ms: 1.00x faster nqueens 88.5 ms 88.1 ms: 1.00x faster sympy_sum 170 ms 169 ms: 1.00x faster python_startup 8.53 ms 8.52 ms: 1.00x faster python_startup_no_site 5.90 ms 5.91 ms: 1.00x slower pickle 9.90 us 9.94 us: 1.00x slower pidigits 194 ms 195 ms: 1.00x slower fannkuch 417 ms 419 ms: 1.01x slower json_dumps 12.5 ms 12.5 ms: 1.01x slower chaos 76.5 ms 76.9 ms: 1.01x slower unpickle 13.4 us 13.5 us: 1.01x slower pyflate 534 ms 538 ms: 1.01x slower mako 11.9 ms 12.0 ms: 1.01x slower json_loads 25.4 us 25.7 us: 1.01x slower logging_format 6.73 us 6.79 us: 1.01x slower logging_simple 6.06 us 6.13 us: 1.01x slower chameleon 7.53 ms 7.62 ms: 1.01x slower scimark_fft 347 ms 352 ms: 1.01x slower regex_dna 216 ms 219 ms: 1.01x slower pathlib 18.7 ms 19.0 ms: 1.02x slower unpickle_list 4.95 us 5.05 us: 1.02x slower spectral_norm 107 ms 110 ms: 1.03x slower scimark_monte_carlo 78.0 ms 80.4 ms: 1.03x slower regex_v8 23.2 ms 24.2 ms: 1.04x slower pickle_dict 27.5 us 28.7 us: 1.04x slower regex_effbot 3.18 ms 3.34 ms: 1.05x slower unpack_sequence 44.0 ns 48.8 ns: 1.11x slower Geometric mean (ref) 1.00x slower https://bugs.python.org/issue45636

Open Graph Description: No perf impact: Details Benchmark main binary-op-alt nbody 118 ms 113 ms: 1.05x faster logging_silent 118 ns 114 ns: 1.04x faster xml_etree_iterparse 109 ms 106 ms: 1.03x faster go 172...

X Description: No perf impact: Details Benchmark main binary-op-alt nbody 118 ms 113 ms: 1.05x faster logging_silent 118 ns 114 ns: 1.04x faster xml_etree_iterparse 109 ms 106 ms: 1.03x faster go 172...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f86f82fe-908e-7f1f-a71c-afab57a9682d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8542:2A6639:B5353C:EBF204:696B2362
html-safe-nonce491d11c0b63bff31e6574ee01d75cce0e95020832e5d876074d6b7aba2b97a4d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTQyOjJBNjYzOTpCNTM1M0M6RUJGMjA0OjY5NkIyMzYyIiwidmlzaXRvcl9pZCI6IjcwMjY1MTA4NzM5MDMxNzg1OTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9f3c3b5ede503996c77280ed75bc4236a82bdd0dcc9829b7dd92f5c939700c9f
hovercard-subject-tagpull_request:773910770
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/29418/files
twitter:imagehttps://avatars.githubusercontent.com/u/40968415?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40968415?s=400&v=4
og:image:altNo perf impact: Details Benchmark main binary-op-alt nbody 118 ms 113 ms: 1.05x faster logging_silent 118 ns 114 ns: 1.04x faster xml_etree_iterparse 109 ms 106 ms: 1.03x faster go 172...
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/29418/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29418%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%2F29418%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/29418/files
Reloadhttps://github.com/python/cpython/pull/29418/files
Reloadhttps://github.com/python/cpython/pull/29418/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/29418/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/29418/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
brandtbucherhttps://github.com/brandtbucher
python:mainhttps://github.com/python/cpython/tree/main
brandtbucher:binary-op-althttps://github.com/brandtbucher/cpython/tree/binary-op-alt
Conversation 13 https://github.com/python/cpython/pull/29418
Commits 11 https://github.com/python/cpython/pull/29418/commits
Checks 0 https://github.com/python/cpython/pull/29418/checks
Files changed https://github.com/python/cpython/pull/29418/files
Please reload this pagehttps://github.com/python/cpython/pull/29418/files
bpo-45636: Simpler design for BINARY_OP/INPLACE_OP https://github.com/python/cpython/pull/29418/files#top
Show all changes 11 commits https://github.com/python/cpython/pull/29418/files
4b7125f Merge BINARY_*/INPLACE_* into BINARY_OP/INPLACE_OP brandtbucher Oct 27, 2021 https://github.com/python/cpython/pull/29418/commits/4b7125f331c91c3da37fc0586d2a74ca618f4c83
3a87083 Clean things up a bit brandtbucher Oct 27, 2021 https://github.com/python/cpython/pull/29418/commits/3a870838f396f8d4b5b3a79e44ed1c4bd9f0ad76
a2df29a Improve the new _PyNumber_*Op implementations brandtbucher Oct 27, 2021 https://github.com/python/cpython/pull/29418/commits/a2df29ae881bb1acc0c9196ed29187644e02cad0
1b8934e Add docs brandtbucher Oct 27, 2021 https://github.com/python/cpython/pull/29418/commits/1b8934ebc3972d5ccbe8c034d6dca07402857057
3137973 blurb add brandtbucher Oct 27, 2021 https://github.com/python/cpython/pull/29418/commits/3137973801729fef3d118418c90caf65b29348e0
9905549 Fix API leak brandtbucher Oct 27, 2021 https://github.com/python/cpython/pull/29418/commits/99055496e84a44e7e2f3943c5306f023807f955f
f697036 Clean up the nb_info struct brandtbucher Oct 28, 2021 https://github.com/python/cpython/pull/29418/commits/f6970361d8cf80000a08e4e6c7d809bd439c8874
33f6e7c Clean up some comments brandtbucher Oct 28, 2021 https://github.com/python/cpython/pull/29418/commits/33f6e7c50a48b04810ed5bd57345652041dc102d
bd8e9c7 Split up operator slots and names brandtbucher Nov 5, 2021 https://github.com/python/cpython/pull/29418/commits/bd8e9c711664f2871c120a52e60965d9c8e40a83
4cac17a Apply feedback from code review brandtbucher Nov 9, 2021 https://github.com/python/cpython/pull/29418/commits/4cac17a4c9557d8c9833b2fdf2c5845f72039223
3c2957b Fix comment brandtbucher Nov 9, 2021 https://github.com/python/cpython/pull/29418/commits/3c2957bd94d28a58f8f7603171a2d334adcb2f91
Clear filters https://github.com/python/cpython/pull/29418/files
Please reload this pagehttps://github.com/python/cpython/pull/29418/files
Please reload this pagehttps://github.com/python/cpython/pull/29418/files
dis.rst https://github.com/python/cpython/pull/29418/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b
3.11.rst https://github.com/python/cpython/pull/29418/files#diff-78f24041d66ab8ed2ae1aee94bcd42396d27af833cb96a3c506294c6d6dce82d
pycore_abstract.h https://github.com/python/cpython/pull/29418/files#diff-631e2c9c07695a628fc5aab911ad2f2951e434d46a9fbc809f7835cd0238c99b
opcode.h https://github.com/python/cpython/pull/29418/files#diff-1cd1f0bb26c3fbaa279f83ee2bfe1d9072da7af07407111c79039c66034c57ed
dis.py https://github.com/python/cpython/pull/29418/files#diff-96747735ee3c8aed3dd0f4c1b1ab0310eeb344577b14887cc9f6605892df47a8
_bootstrap_external.py https://github.com/python/cpython/pull/29418/files#diff-efefe383b3a81d16150c280db0b64eed7569254299418f64cc0d749f8e16f3a4
opcode.py https://github.com/python/cpython/pull/29418/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb
test_compile.py https://github.com/python/cpython/pull/29418/files#diff-c69ceae0611c40012b4691e3536bf17efacdb5b51b8e155eec9a939108e42e43
test_dis.py https://github.com/python/cpython/pull/29418/files#diff-fd7b118a01a9695dfa16eea9381d3c7b0652e1b7b55f51ff052a1f620d175642
2021-10-27-15-14-31.bpo-45636.K2X7QS.rst https://github.com/python/cpython/pull/29418/files#diff-b4d578e703013b331b42ee3c8794ec500f149d7f2cdc9a61458c19ca559e3b78
abstract.c https://github.com/python/cpython/pull/29418/files#diff-d2c90d06d281ca8dd7ac8b90109fc26755f7319dd209b5f9416efdecfa56e289
ceval.c https://github.com/python/cpython/pull/29418/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
compile.c https://github.com/python/cpython/pull/29418/files#diff-ebc983d9f91e5bcf73500e377ac65e85863c4f77fd5b6b6caf4fcdf7c0f0b057
opcode_targets.h https://github.com/python/cpython/pull/29418/files#diff-d3363a4083b77b9157d0bf07c2e87f3d3464a8b4360d5d23b07bbb23061f007a
generate_opcode_h.py https://github.com/python/cpython/pull/29418/files#diff-f2b596fb7fb42d227352f57250a838053040ad46014d62a910542a9f3faa3e25
Doc/library/dis.rsthttps://github.com/python/cpython/pull/29418/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b
View file https://github.com/brandtbucher/cpython/blob/3c2957bd94d28a58f8f7603171a2d334adcb2f91/Doc/library/dis.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29418/{{ revealButtonHref }}
https://github.com/python/cpython/pull/29418/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b
https://github.com/python/cpython/pull/29418/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b
https://github.com/python/cpython/pull/29418/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b
https://github.com/python/cpython/pull/29418/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b
https://github.com/python/cpython/pull/29418/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114
Doc/whatsnew/3.11.rsthttps://github.com/python/cpython/pull/29418/files#diff-78f24041d66ab8ed2ae1aee94bcd42396d27af833cb96a3c506294c6d6dce82d
View file https://github.com/brandtbucher/cpython/blob/3c2957bd94d28a58f8f7603171a2d334adcb2f91/Doc/whatsnew/3.11.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29418/{{ revealButtonHref }}
https://github.com/python/cpython/pull/29418/files#diff-78f24041d66ab8ed2ae1aee94bcd42396d27af833cb96a3c506294c6d6dce82d
https://github.com/python/cpython/pull/29418/files#diff-78f24041d66ab8ed2ae1aee94bcd42396d27af833cb96a3c506294c6d6dce82d
Include/internal/pycore_abstract.hhttps://github.com/python/cpython/pull/29418/files#diff-631e2c9c07695a628fc5aab911ad2f2951e434d46a9fbc809f7835cd0238c99b
View file https://github.com/brandtbucher/cpython/blob/3c2957bd94d28a58f8f7603171a2d334adcb2f91/Include/internal/pycore_abstract.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29418/{{ revealButtonHref }}
https://github.com/python/cpython/pull/29418/files#diff-631e2c9c07695a628fc5aab911ad2f2951e434d46a9fbc809f7835cd0238c99b
https://github.com/python/cpython/pull/29418/files#diff-631e2c9c07695a628fc5aab911ad2f2951e434d46a9fbc809f7835cd0238c99b
Please reload this pagehttps://github.com/python/cpython/pull/29418/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.