René's URL Explorer Experiment


Title: gh-97933: add opcode for more efficient comprehension execution by carljm · Pull Request #101310 · python/cpython · GitHub

Open Graph Title: gh-97933: add opcode for more efficient comprehension execution by carljm · Pull Request #101310 · python/cpython

X Title: gh-97933: add opcode for more efficient comprehension execution by carljm · Pull Request #101310 · python/cpython

Description: This avoids allocating a throwaway single-use function object every time we run a comprehension. Otherwise it shouldn't have any user-visible impact; the comprehension is still a separate code obje...

Open Graph Description: This avoids allocating a throwaway single-use function object every time we run a comprehension. Otherwise it shouldn't have any user-visible impact; the comprehension is still a separate code ...

X Description: This avoids allocating a throwaway single-use function object every time we run a comprehension. Otherwise it shouldn't have any user-visible impact; the comprehension is still a separate c...

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

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:59502745-1ab9-6da9-b019-feee0cf7fd83
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8E32:341673:22F610:2EC8C3:6969A920
html-safe-nonceb149be20d39e2fdcd5a72e9496ea21b3fac0a2404a00dd50aeffb50adf86f177
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTMyOjM0MTY3MzoyMkY2MTA6MkVDOEMzOjY5NjlBOTIwIiwidmlzaXRvcl9pZCI6IjYwMDk2NDEzNTc1NjkyNzIwOTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1f5b3f61a4ba9df11e23ff1f36db90ebce2950e0723ad2ddfb4597e21415d1c3
hovercard-subject-tagpull_request:1215913819
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/101310/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6bef759341261ecd0d83201f16eab198b8c625a53bebefdd6e8483cc702d7c9a/python/cpython/pull/101310
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6bef759341261ecd0d83201f16eab198b8c625a53bebefdd6e8483cc702d7c9a/python/cpython/pull/101310
og:image:altThis avoids allocating a throwaway single-use function object every time we run a comprehension. Otherwise it shouldn't have any user-visible impact; the comprehension is still a separate code ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecarljm
hostnamegithub.com
expected-hostnamegithub.com
None24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7
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
release124667f43168afb6c9c03b7c02eb5b1d2e1be3d9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/101310#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F101310
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%2F101310
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/101310
Reloadhttps://github.com/python/cpython/pull/101310
Reloadhttps://github.com/python/cpython/pull/101310
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/101310
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/101310
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/101310#issue-comment-box
carljmhttps://github.com/carljm
python:mainhttps://github.com/python/cpython/tree/main
carljm:inlinecomphttps://github.com/carljm/cpython/tree/inlinecomp
gh-97933: add opcode for more efficient comprehension execution https://github.com/python/cpython/pull/101310#top
carljmhttps://github.com/carljm
python:mainhttps://github.com/python/cpython/tree/main
carljm:inlinecomphttps://github.com/carljm/cpython/tree/inlinecomp
Conversation 6 https://github.com/python/cpython/pull/101310
Commits 3 https://github.com/python/cpython/pull/101310/commits
Checks 0 https://github.com/python/cpython/pull/101310/checks
Files changed https://github.com/python/cpython/pull/101310/files
Please reload this pagehttps://github.com/python/cpython/pull/101310
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/carljm
carljmhttps://github.com/carljm
Jan 25, 2023https://github.com/python/cpython/pull/101310#issue-1555894522
Please reload this pagehttps://github.com/python/cpython/pull/101310
#97933https://github.com/python/cpython/issues/97933
Inline dict/list/set comprehensions in the compiler for better performance #97933https://github.com/python/cpython/issues/97933
Please reload this pagehttps://github.com/python/cpython/pull/101310
https://github.com/carljm
add opcode for more efficient comprehension executionhttps://github.com/python/cpython/pull/101310/commits/e4a68550426dbea79bd9fc6ff0a75395891d35b7
e4a6855https://github.com/python/cpython/pull/101310/commits/e4a68550426dbea79bd9fc6ff0a75395891d35b7
https://github.com/carljm
carljmhttps://github.com/carljm
iritkatrielhttps://github.com/iritkatriel
markshannonhttps://github.com/markshannon
code ownershttps://github.com/python/cpython/blob/498598e8c2d64232d26c075de87c513415176bbf/.github/CODEOWNERS#L27
January 25, 2023 00:53https://github.com/python/cpython/pull/101310#event-8350254420
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jan 25, 2023https://github.com/python/cpython/pull/101310#event-8350254574
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jan 25, 2023 https://github.com/python/cpython/pull/101310#ref-issue-1398350568
Inline dict/list/set comprehensions in the compiler for better performance #97933 https://github.com/python/cpython/issues/97933
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/101310/commits/ee2ad56db82a9f0e5ba81d8ee2c7d97a21b4313d
ee2ad56https://github.com/python/cpython/pull/101310/commits/ee2ad56db82a9f0e5ba81d8ee2c7d97a21b4313d
https://github.com/carljm
carljmhttps://github.com/carljm
Jan 25, 2023https://github.com/python/cpython/pull/101310#issuecomment-1402899700
@markshannonhttps://github.com/markshannon
@iritkatrielhttps://github.com/iritkatriel
Please reload this pagehttps://github.com/python/cpython/pull/101310
https://github.com/carljm
carljmhttps://github.com/carljm
performance https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance
Jan 25, 2023https://github.com/python/cpython/pull/101310#event-8350370322
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Jan 25, 2023https://github.com/python/cpython/pull/101310#issuecomment-1403431737
@markshannonhttps://github.com/markshannon
@iritkatrielhttps://github.com/iritkatriel
Please reload this pagehttps://github.com/python/cpython/pull/101310
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Jan 25, 2023https://github.com/python/cpython/pull/101310#issuecomment-1403743742
https://github.com/faster-cpython/benchmarking/blob/main/results/bm-20230125-3.12.0a4+-ee2ad56/bm-20230125-linux-x86_64-carljm-inlinecomp-3.12.0a4+-ee2ad56-vs-base.mdhttps://github.com/faster-cpython/benchmarking/blob/main/results/bm-20230125-3.12.0a4+-ee2ad56/bm-20230125-linux-x86_64-carljm-inlinecomp-3.12.0a4+-ee2ad56-vs-base.md
Please reload this pagehttps://github.com/python/cpython/pull/101310
https://github.com/carljm
carljmhttps://github.com/carljm
Jan 25, 2023https://github.com/python/cpython/pull/101310#issuecomment-1403920279
Please reload this pagehttps://github.com/python/cpython/pull/101310
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jan 25, 2023https://github.com/python/cpython/pull/101310#issuecomment-1403923446
Please reload this pagehttps://github.com/python/cpython/pull/101310
Allow the f_func field of the _PyInterpreterFrame struct to be any object (and rename it) #96237 https://github.com/python/cpython/issues/96237
add comprehensions benchmark python/pyperformance#265 https://github.com/python/pyperformance/pull/265
https://github.com/carljm
Merge branch 'main' into inlinecomphttps://github.com/python/cpython/pull/101310/commits/544b30cc80e180494f2679a4a52f6b1219ff88f5
544b30chttps://github.com/python/cpython/pull/101310/commits/544b30cc80e180494f2679a4a52f6b1219ff88f5
pythongh-102056https://github.com/python/cpython/issues/102056
python#102078https://github.com/python/cpython/pull/102078
pythongh-102011https://github.com/python/cpython/issues/102011
python#102012https://github.com/python/cpython/pull/102012
pythongh-101566https://github.com/python/cpython/issues/101566
pythonGH-102018https://github.com/python/cpython/pull/102018
pythonGH-99818https://github.com/python/cpython/issues/99818
pythonGH-101589https://github.com/python/cpython/pull/101589
pythongh-88233https://github.com/python/cpython/issues/88233
pythonGH-96161https://github.com/python/cpython/pull/96161
pythongh-101981https://github.com/python/cpython/issues/101981
pythongh-102074https://github.com/python/cpython/pull/102074
pythongh-101907https://github.com/python/cpython/issues/101907
pythonGH-101912https://github.com/python/cpython/pull/101912
pythongh-101819https://github.com/python/cpython/issues/101819
pythonGH-101949https://github.com/python/cpython/pull/101949
pythongh-101981https://github.com/python/cpython/issues/101981
pythonGH-102070https://github.com/python/cpython/pull/102070
pythongh-97786https://github.com/python/cpython/issues/97786
python#101826https://github.com/python/cpython/pull/101826
pythongh-101578https://github.com/python/cpython/issues/101578
python#101962https://github.com/python/cpython/pull/101962
pythonGH-102052https://github.com/python/cpython/pull/102052
pythongh-85417https://github.com/python/cpython/issues/85417
python#102046https://github.com/python/cpython/pull/102046
pythongh-100425https://github.com/python/cpython/issues/100425
python#102049https://github.com/python/cpython/pull/102049
pythongh-100210https://github.com/python/cpython/issues/100210
python#100212https://github.com/python/cpython/pull/100212
pythongh-97930https://github.com/python/cpython/issues/97930
python#102030https://github.com/python/cpython/pull/102030
pythongh-99735https://github.com/python/cpython/issues/99735
python#100927https://github.com/python/cpython/pull/100927
python#101250https://github.com/python/cpython/pull/101250
pythonGH-84783https://github.com/python/cpython/issues/84783
pythonGH-101264https://github.com/python/cpython/pull/101264
https://github.com/carljm
carljmhttps://github.com/carljm
Mar 8, 2023https://github.com/python/cpython/pull/101310#issuecomment-1460996154
#101441https://github.com/python/cpython/pull/101441
Please reload this pagehttps://github.com/python/cpython/pull/101310
https://github.com/carljm
carljmhttps://github.com/carljm
Mar 8, 2023https://github.com/python/cpython/pull/101310#event-8701455067
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%2F101310
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/iritkatriel
iritkatriel https://github.com/iritkatriel
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
performance https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance
Inline dict/list/set comprehensions in the compiler for better performance https://github.com/python/cpython/issues/97933
Please reload this pagehttps://github.com/python/cpython/pull/101310
https://github.com/carljm
https://github.com/iritkatriel
https://github.com/markshannon
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.