René's URL Explorer Experiment


Title: bpo-41431: Optimize dict_merge for copy by methane · Pull Request #21674 · python/cpython · GitHub

Open Graph Title: bpo-41431: Optimize dict_merge for copy by methane · Pull Request #21674 · python/cpython

X Title: bpo-41431: Optimize dict_merge for copy by methane · Pull Request #21674 · python/cpython

Description: Use clone_combined_dict when possible. https://bugs.python.org/issue41431

Open Graph Description: Use clone_combined_dict when possible. https://bugs.python.org/issue41431

X Description: Use clone_combined_dict when possible. https://bugs.python.org/issue41431

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:af68c03d-9eef-6bad-3a75-5e38f558446d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9D16:E3F0D:BD2346:F629D4:696AFCC2
html-safe-nonce1acfcc5e7007c3fdf20ee65167d27318e0518ff7c5d3f55a27523dfd30e29603
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDE2OkUzRjBEOkJEMjM0NjpGNjI5RDQ6Njk2QUZDQzIiLCJ2aXNpdG9yX2lkIjoiNTA4MTcwNjg0NDI3MDU1ODQwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace4695a438305fc2f450f8f382e50418feb167756acc48fd7650fcf9732a1f85c
hovercard-subject-tagpull_request:458167896
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/21674/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/413dba8e449509470986ecdaa87dc51ef2ac8f898b997d955885c0f073676aef/python/cpython/pull/21674
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/413dba8e449509470986ecdaa87dc51ef2ac8f898b997d955885c0f073676aef/python/cpython/pull/21674
og:image:altUse clone_combined_dict when possible. https://bugs.python.org/issue41431
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemethane
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/21674#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F21674
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%2F21674
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/21674
Reloadhttps://github.com/python/cpython/pull/21674
Reloadhttps://github.com/python/cpython/pull/21674
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/21674
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/21674
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
Jump to bottomhttps://github.com/python/cpython/pull/21674#issue-comment-box
methanehttps://github.com/methane
python:masterhttps://github.com/python/cpython/tree/master
methane:copy-by-clonehttps://github.com/methane/cpython/tree/copy-by-clone
bpo-41431: Optimize dict_merge for copy https://github.com/python/cpython/pull/21674#top
methanehttps://github.com/methane
python:masterhttps://github.com/python/cpython/tree/master
methane:copy-by-clonehttps://github.com/methane/cpython/tree/copy-by-clone
Conversation 0 https://github.com/python/cpython/pull/21674
Commits 6 https://github.com/python/cpython/pull/21674/commits
Checks 0 https://github.com/python/cpython/pull/21674/checks
Files changed https://github.com/python/cpython/pull/21674/files
Please reload this pagehttps://github.com/python/cpython/pull/21674
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/methane
methanehttps://github.com/methane
Jul 29, 2020https://github.com/python/cpython/pull/21674#issue-667516178
Please reload this pagehttps://github.com/python/cpython/pull/21674
https://bugs.python.org/issue41431https://bugs.python.org/issue41431
Please reload this pagehttps://github.com/python/cpython/pull/21674
methanehttps://github.com/methane
July 27, 2020 18:09https://github.com/python/cpython/pull/21674#commits-pushed-97f2089
https://github.com/methane
Use empty key-sharing dict in dict_newhttps://github.com/python/cpython/pull/21674/commits/97f2089e7b730ad49af3e495264eb2e2f99002db
97f2089https://github.com/python/cpython/pull/21674/commits/97f2089e7b730ad49af3e495264eb2e2f99002db
https://github.com/methane
Use clone_combined_dict in dict_mergehttps://github.com/python/cpython/pull/21674/commits/66eceeec16a8fc3b9d9d8b6d01fbcd83efcdd682
66eceeehttps://github.com/python/cpython/pull/21674/commits/66eceeec16a8fc3b9d9d8b6d01fbcd83efcdd682
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jul 29, 2020https://github.com/python/cpython/pull/21674#event-3597080571
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jul 29, 2020https://github.com/python/cpython/pull/21674#event-3597080655
methanehttps://github.com/methane
August 2, 2020 15:50https://github.com/python/cpython/pull/21674#commits-pushed-7a54a9d
https://github.com/methane
Fast copy should be compact.https://github.com/python/cpython/pull/21674/commits/7a54a9d88d05fe7f913366a230a88316504015f1
7a54a9dhttps://github.com/python/cpython/pull/21674/commits/7a54a9d88d05fe7f913366a230a88316504015f1
https://github.com/methane
Add newshttps://github.com/python/cpython/pull/21674/commits/09bdf831617c0732b1de10bb8a1ff1bd724548ac
09bdf83https://github.com/python/cpython/pull/21674/commits/09bdf831617c0732b1de10bb8a1ff1bd724548ac
https://github.com/methane
methanehttps://github.com/methane
Aug 2, 2020 https://github.com/python/cpython/pull/21674#ref-pullrequest-667466970
bpo-41431: Optimize dict_merge for copy #21669 https://github.com/python/cpython/pull/21669
https://github.com/methane
clone only when other is just size.https://github.com/python/cpython/pull/21674/commits/f649b5a402f1648185065f1b405ec8dbe2358eda
f649b5ahttps://github.com/python/cpython/pull/21674/commits/f649b5a402f1648185065f1b405ec8dbe2358eda
https://github.com/methane
methanehttps://github.com/methane
force-pushedhttps://github.com/python/cpython/compare/eed05e7b44cbc7e780349777b8a2bff5494533f2..f649b5a402f1648185065f1b405ec8dbe2358eda
eed05e7https://github.com/python/cpython/commit/eed05e7b44cbc7e780349777b8a2bff5494533f2
f649b5ahttps://github.com/python/cpython/commit/f649b5a402f1648185065f1b405ec8dbe2358eda
Compare https://github.com/python/cpython/compare/eed05e7b44cbc7e780349777b8a2bff5494533f2..f649b5a402f1648185065f1b405ec8dbe2358eda
August 2, 2020 12:21https://github.com/python/cpython/pull/21674#event-3613297945
https://github.com/methane
rephrasehttps://github.com/python/cpython/pull/21674/commits/022df77f02b411cdbebebbfafbea84279629d3a3
022df77https://github.com/python/cpython/pull/21674/commits/022df77f02b411cdbebebbfafbea84279629d3a3
https://github.com/methane
methanehttps://github.com/methane
db6d9a5https://github.com/python/cpython/commit/db6d9a50cee92c0ded7c5cb87331c5f0b1008698
Aug 4, 2020https://github.com/python/cpython/pull/21674#event-3618221631
https://github.com/methane
methanehttps://github.com/methane
August 4, 2020 02:08https://github.com/python/cpython/pull/21674#event-3618221668
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Aug 4, 2020https://github.com/python/cpython/pull/21674#event-3618221710
shihai1991https://github.com/shihai1991
Aug 4, 2020 https://github.com/python/cpython/pull/21674#ref-commit-58220f0
https://github.com/methane
https://github.com/shihai1991
bpo-41431: Optimize dict_merge for copy (https://github.com/shihai1991/cpython/commit/58220f04bfbbe24b58e6441315c460d30b8aa325
pythonGH-21674https://github.com/python/cpython/pull/21674
)https://github.com/shihai1991/cpython/commit/58220f04bfbbe24b58e6441315c460d30b8aa325
58220f0https://github.com/shihai1991/cpython/commit/58220f04bfbbe24b58e6441315c460d30b8aa325
shihai1991https://github.com/shihai1991
Aug 20, 2020 https://github.com/python/cpython/pull/21674#ref-commit-1090b51
https://github.com/methane
https://github.com/shihai1991
bpo-41431: Optimize dict_merge for copy (https://github.com/shihai1991/cpython/commit/1090b51f25879b5b8593c1a124996b7dfd23f3e4
pythonGH-21674https://github.com/python/cpython/pull/21674
)https://github.com/shihai1991/cpython/commit/1090b51f25879b5b8593c1a124996b7dfd23f3e4
1090b51https://github.com/shihai1991/cpython/commit/1090b51f25879b5b8593c1a124996b7dfd23f3e4
xzy3https://github.com/xzy3
Oct 18, 2020 https://github.com/python/cpython/pull/21674#ref-commit-440a55b
https://github.com/methane
bpo-41431: Optimize dict_merge for copy (https://github.com/xzy3/cpython/commit/440a55b253661df9826549e09589d93e63410481
pythonGH-21674https://github.com/python/cpython/pull/21674
)https://github.com/xzy3/cpython/commit/440a55b253661df9826549e09589d93e63410481
440a55bhttps://github.com/xzy3/cpython/commit/440a55b253661df9826549e09589d93e63410481
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F21674
Please reload this pagehttps://github.com/python/cpython/pull/21674
https://github.com/methane
https://github.com/the-knights-who-say-ni
https://github.com/bedevere-bot
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.