René's URL Explorer Experiment


Title: gh-146640: Optimize int operations by mutating uniquely-referenced operands in place (JIT only) by eendebakpt · Pull Request #146641 · python/cpython · GitHub

Open Graph Title: gh-146640: Optimize int operations by mutating uniquely-referenced operands in place (JIT only) by eendebakpt · Pull Request #146641 · python/cpython

X Title: gh-146640: Optimize int operations by mutating uniquely-referenced operands in place (JIT only) by eendebakpt · Pull Request #146641 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: In this PR we add inplace binary operations for int type, similar to #146397. A complication compared to the float case is that the int operations can return small ints which should not be modified...

X Description: In this PR we add inplace binary operations for int type, similar to #146397. A complication compared to the float case is that the int operations can return small ints which should not be modified...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:fd5a0fad-a84d-8f8e-4740-95cf6c2e1f8b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id88F2:255ABB:107FB5:16980C:6A5259D5
html-safe-nonce31af8f45b8a207c8d873e8fbaf2b6232da1fd0e854490ef5ce8b6cabba89918b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEYyOjI1NUFCQjoxMDdGQjU6MTY5ODBDOjZBNTI1OUQ1IiwidmlzaXRvcl9pZCI6Ijc2NDUyNTI5MzM1NTEwMjA1MDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7c40848c6b226db63d72c0dd66e27176c3dacb4ca576f929215d8b580b7fe69d
hovercard-subject-tagpull_request:3468051163
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/146641/commits
twitter:imagehttps://opengraph.githubassets.com/faf1434b6010a3d63f46efcd23eec321b208dd6e9256db58feb8486e91d0588c/python/cpython/pull/146641
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/faf1434b6010a3d63f46efcd23eec321b208dd6e9256db58feb8486e91d0588c/python/cpython/pull/146641
og:image:altIn this PR we add inplace binary operations for int type, similar to #146397. A complication compared to the float case is that the int operations can return small ints which should not be modified...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameeendebakpt
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/146641/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F146641%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F146641%2Fcommits
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/146641/commits
Reloadhttps://github.com/python/cpython/pull/146641/commits
Reloadhttps://github.com/python/cpython/pull/146641/commits
Please reload this pagehttps://github.com/python/cpython/pull/146641/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/146641/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Fidget-Spinnerhttps://github.com/Fidget-Spinner
python:mainhttps://github.com/python/cpython/tree/main
eendebakpt:int_int_inplacehttps://github.com/eendebakpt/cpython/tree/int_int_inplace
Conversationhttps://github.com/python/cpython/pull/146641
Commits15 (15)https://github.com/python/cpython/pull/146641/commits
Checkshttps://github.com/python/cpython/pull/146641/checks
Files changedhttps://github.com/python/cpython/pull/146641/files
gh-146640: Optimize int operations by mutating uniquely-referenced operands in place (JIT only)https://github.com/python/cpython/pull/146641/commits#top
Fidget-Spinnerhttps://github.com/Fidget-Spinner
python:mainhttps://github.com/python/cpython/tree/main
eendebakpt:int_int_inplacehttps://github.com/eendebakpt/cpython/tree/int_int_inplace
Add inplace binary operations for type int-inthttps://github.com/python/cpython/pull/146641/commits/befeded4197b7aea397168fb20982b7382695c7d
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
befededhttps://github.com/python/cpython/pull/146641/commits/befeded4197b7aea397168fb20982b7382695c7d
https://github.com/python/cpython/tree/befeded4197b7aea397168fb20982b7382695c7d
reworkhttps://github.com/python/cpython/pull/146641/commits/964bb34be583a9bd3cf7b97e2d4c97329ee04cc4
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
964bb34https://github.com/python/cpython/pull/146641/commits/964bb34be583a9bd3cf7b97e2d4c97329ee04cc4
https://github.com/python/cpython/tree/964bb34be583a9bd3cf7b97e2d4c97329ee04cc4
refactorhttps://github.com/python/cpython/pull/146641/commits/f33b4528957ce5de55822c99a10b0cc56ddb27c4
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
f33b452https://github.com/python/cpython/pull/146641/commits/f33b4528957ce5de55822c99a10b0cc56ddb27c4
https://github.com/python/cpython/tree/f33b4528957ce5de55822c99a10b0cc56ddb27c4
fix tag assignmenthttps://github.com/python/cpython/pull/146641/commits/654ae93b1029536f3574ee8474aade0099461cb9
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
654ae93https://github.com/python/cpython/pull/146641/commits/654ae93b1029536f3574ee8474aade0099461cb9
https://github.com/python/cpython/tree/654ae93b1029536f3574ee8474aade0099461cb9
fix result refshttps://github.com/python/cpython/pull/146641/commits/af5b4c9eb62316ab5bd2486eec50ca5b8b45e529
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
af5b4c9https://github.com/python/cpython/pull/146641/commits/af5b4c9eb62316ab5bd2486eec50ca5b8b45e529
https://github.com/python/cpython/tree/af5b4c9eb62316ab5bd2486eec50ca5b8b45e529
review commentshttps://github.com/python/cpython/pull/146641/commits/9d13a232f91bb94306e17a149336da79e1610ec3
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
9d13a23https://github.com/python/cpython/pull/146641/commits/9d13a232f91bb94306e17a149336da79e1610ec3
https://github.com/python/cpython/tree/9d13a232f91bb94306e17a149336da79e1610ec3
news entryhttps://github.com/python/cpython/pull/146641/commits/46b6ccabb8e6fa526abeb1c9373e3becf4f06b8d
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
46b6ccahttps://github.com/python/cpython/pull/146641/commits/46b6ccabb8e6fa526abeb1c9373e3becf4f06b8d
https://github.com/python/cpython/tree/46b6ccabb8e6fa526abeb1c9373e3becf4f06b8d
fixhttps://github.com/python/cpython/pull/146641/commits/63c1317c6b8f2c6f1c0c0e00a171fdb2223fe5b2
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
63c1317https://github.com/python/cpython/pull/146641/commits/63c1317c6b8f2c6f1c0c0e00a171fdb2223fe5b2
https://github.com/python/cpython/tree/63c1317c6b8f2c6f1c0c0e00a171fdb2223fe5b2
move dup into macrohttps://github.com/python/cpython/pull/146641/commits/4d6288bf489abafe7f9239d9ef7443779c21d0b0
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
4d6288bhttps://github.com/python/cpython/pull/146641/commits/4d6288bf489abafe7f9239d9ef7443779c21d0b0
https://github.com/python/cpython/tree/4d6288bf489abafe7f9239d9ef7443779c21d0b0
Merge branch 'main' into int_int_inplacehttps://github.com/python/cpython/pull/146641/commits/73b9a4573b7ec3fa46919af5621a4743b47c812e
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
73b9a45https://github.com/python/cpython/pull/146641/commits/73b9a4573b7ec3fa46919af5621a4743b47c812e
https://github.com/python/cpython/tree/73b9a4573b7ec3fa46919af5621a4743b47c812e
Apply suggestion from @eendebakpthttps://github.com/python/cpython/pull/146641/commits/3fb1e6cbbc311efb268b59b3e3e1a052b95995d8
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
3fb1e6chttps://github.com/python/cpython/pull/146641/commits/3fb1e6cbbc311efb268b59b3e3e1a052b95995d8
https://github.com/python/cpython/tree/3fb1e6cbbc311efb268b59b3e3e1a052b95995d8
reverthttps://github.com/python/cpython/pull/146641/commits/7710226e82c354bdef504ccca7937a408a493937
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
7710226https://github.com/python/cpython/pull/146641/commits/7710226e82c354bdef504ccca7937a408a493937
https://github.com/python/cpython/tree/7710226e82c354bdef504ccca7937a408a493937
review commentshttps://github.com/python/cpython/pull/146641/commits/60b81be765e8a87c4ea9c68d998dd034b5bdfc29
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
60b81behttps://github.com/python/cpython/pull/146641/commits/60b81be765e8a87c4ea9c68d998dd034b5bdfc29
https://github.com/python/cpython/tree/60b81be765e8a87c4ea9c68d998dd034b5bdfc29
Merge branch 'main' into int_int_inplacehttps://github.com/python/cpython/pull/146641/commits/e0bae62cf3cf9426528dbbe58ba089faf3ca537e
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
e0bae62https://github.com/python/cpython/pull/146641/commits/e0bae62cf3cf9426528dbbe58ba089faf3ca537e
https://github.com/python/cpython/tree/e0bae62cf3cf9426528dbbe58ba089faf3ca537e
Apply suggestion from @eendebakpthttps://github.com/python/cpython/pull/146641/commits/76e07851bd775d4b506e4309994c9cececc00b32
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
76e0785https://github.com/python/cpython/pull/146641/commits/76e07851bd775d4b506e4309994c9cececc00b32
https://github.com/python/cpython/tree/76e07851bd775d4b506e4309994c9cececc00b32
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.