René's URL Explorer Experiment


Title: gh-94603: micro optimize list.pop by eendebakpt · Pull Request #94604 · python/cpython · GitHub

Open Graph Title: gh-94603: micro optimize list.pop by eendebakpt · Pull Request #94604 · python/cpython

X Title: gh-94603: micro optimize list.pop by eendebakpt · Pull Request #94604 · python/cpython

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

Open Graph Description: This PR optmizes list.pop Benchmark results x=[1,2]; x.pop(0): Mean +- std dev: [m2] 81.8 ns +- 2.5 ns -> [pr_special] 68.9 ns +- 2.0 ns: 1.19x faster x=[1,2]; x.pop(1): Mean +- std dev: [m2] 65...

X Description: This PR optmizes list.pop Benchmark results x=[1,2]; x.pop(0): Mean +- std dev: [m2] 81.8 ns +- 2.5 ns -> [pr_special] 68.9 ns +- 2.0 ns: 1.19x faster x=[1,2]; x.pop(1): Mean +- std dev: [m2...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:8b0d8a9b-0922-45f9-6191-536b8a25d6a6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAB2C:135F21:1843940:220312F:6969222D
html-safe-noncecfba2e6e90215acb81e98a27c814bd06ccb7430b1d02106163b4425d5ac2da31
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjJDOjEzNUYyMToxODQzOTQwOjIyMDMxMkY6Njk2OTIyMkQiLCJ2aXNpdG9yX2lkIjoiNTA0NjI4MjkyMDM4MDY3MDUwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac812074ea5ebebebf61e3b99e95a049e0c396c82a5ae131cf3b727423d7333bc2
hovercard-subject-tagpull_request:988760968
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/94604/commits
twitter:imagehttps://opengraph.githubassets.com/e2b15ebb488eb811949510fb3bbf3f992d25741e8f6b9bf7ba1a00c0729368d6/python/cpython/pull/94604
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e2b15ebb488eb811949510fb3bbf3f992d25741e8f6b9bf7ba1a00c0729368d6/python/cpython/pull/94604
og:image:altThis PR optmizes list.pop Benchmark results x=[1,2]; x.pop(0): Mean +- std dev: [m2] 81.8 ns +- 2.5 ns -> [pr_special] 68.9 ns +- 2.0 ns: 1.19x faster x=[1,2]; x.pop(1): Mean +- std dev: [m2] 65...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameeendebakpt
hostnamegithub.com
expected-hostnamegithub.com
None54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d
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
released69ac0477df0f87da03b8b06cebd187012d7a930
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/94604/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F94604%2Fcommits
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%2F94604%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/94604/commits
Reloadhttps://github.com/python/cpython/pull/94604/commits
Reloadhttps://github.com/python/cpython/pull/94604/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/94604/commits
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 2k 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/94604/commits
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
corona10https://github.com/corona10
python:mainhttps://github.com/python/cpython/tree/main
eendebakpt:performance/list_pophttps://github.com/eendebakpt/cpython/tree/performance/list_pop
Conversationhttps://github.com/python/cpython/pull/94604
Commits17 (17)https://github.com/python/cpython/pull/94604/commits
Checkshttps://github.com/python/cpython/pull/94604/checks
Files changedhttps://github.com/python/cpython/pull/94604/files
gh-94603: micro optimize list.pophttps://github.com/python/cpython/pull/94604/commits#top
corona10https://github.com/corona10
python:mainhttps://github.com/python/cpython/tree/main
eendebakpt:performance/list_pophttps://github.com/eendebakpt/cpython/tree/performance/list_pop
optimize list.pophttps://github.com/python/cpython/pull/94604/commits/79ac0ff8ec6cbf29e4070dba797165b44b806654
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
79ac0ffhttps://github.com/python/cpython/pull/94604/commits/79ac0ff8ec6cbf29e4070dba797165b44b806654
https://github.com/python/cpython/tree/79ac0ff8ec6cbf29e4070dba797165b44b806654
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/94604/commits/4cf3c199dbeb556843a6e11ccb392802babaa756
https://github.com/apps/blurb-it
blurb-it[bot]https://github.com/python/cpython/commits?author=blurb-it%5Bbot%5D
4cf3c19https://github.com/python/cpython/pull/94604/commits/4cf3c199dbeb556843a6e11ccb392802babaa756
https://github.com/python/cpython/tree/4cf3c199dbeb556843a6e11ccb392802babaa756
fix news itemhttps://github.com/python/cpython/pull/94604/commits/4db7ec56a2ac9c5c0479a56449df3eb36882259c
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
4db7ec5https://github.com/python/cpython/pull/94604/commits/4db7ec56a2ac9c5c0479a56449df3eb36882259c
https://github.com/python/cpython/tree/4db7ec56a2ac9c5c0479a56449df3eb36882259c
Update Objects/listobject.chttps://github.com/python/cpython/pull/94604/commits/1512885e242707ba2aa84346e410316d61bc5730
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
corona10https://github.com/python/cpython/commits?author=corona10
1512885https://github.com/python/cpython/pull/94604/commits/1512885e242707ba2aa84346e410316d61bc5730
https://github.com/python/cpython/tree/1512885e242707ba2aa84346e410316d61bc5730
Update Objects/listobject.chttps://github.com/python/cpython/pull/94604/commits/58e38d6ec7e07406cb65545e72a2d2ad42442950
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
corona10https://github.com/python/cpython/commits?author=corona10
58e38d6https://github.com/python/cpython/pull/94604/commits/58e38d6ec7e07406cb65545e72a2d2ad42442950
https://github.com/python/cpython/tree/58e38d6ec7e07406cb65545e72a2d2ad42442950
Merge branch 'main' into performance/list_pophttps://github.com/python/cpython/pull/94604/commits/e55907c10947afc351999878b57612a4cd8406d4
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
e55907chttps://github.com/python/cpython/pull/94604/commits/e55907c10947afc351999878b57612a4cd8406d4
https://github.com/python/cpython/tree/e55907c10947afc351999878b57612a4cd8406d4
Merge branch 'main' into performance/list_pophttps://github.com/python/cpython/pull/94604/commits/a97f93e3388fb76b84018bf4d25263ded25c9160
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
a97f93ehttps://github.com/python/cpython/pull/94604/commits/a97f93e3388fb76b84018bf4d25263ded25c9160
https://github.com/python/cpython/tree/a97f93e3388fb76b84018bf4d25263ded25c9160
Merge branch 'main' into performance/list_pophttps://github.com/python/cpython/pull/94604/commits/a711050f3a6d7aaebd3fce2165cff847ff126ce5
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
a711050https://github.com/python/cpython/pull/94604/commits/a711050f3a6d7aaebd3fce2165cff847ff126ce5
https://github.com/python/cpython/tree/a711050f3a6d7aaebd3fce2165cff847ff126ce5
Merge branch 'main' into performance/list_pophttps://github.com/python/cpython/pull/94604/commits/b1ebb5c243ebb334ca5e5f9e5ae54a169855b0d7
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
b1ebb5chttps://github.com/python/cpython/pull/94604/commits/b1ebb5c243ebb334ca5e5f9e5ae54a169855b0d7
https://github.com/python/cpython/tree/b1ebb5c243ebb334ca5e5f9e5ae54a169855b0d7
Merge branch 'main' into performance/list_pophttps://github.com/python/cpython/pull/94604/commits/12411a99d01de5b6d7f45048b642f9d61a650d08
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
12411a9https://github.com/python/cpython/pull/94604/commits/12411a99d01de5b6d7f45048b642f9d61a650d08
https://github.com/python/cpython/tree/12411a99d01de5b6d7f45048b642f9d61a650d08
Merge branch 'main' into performance/list_pophttps://github.com/python/cpython/pull/94604/commits/8940af77b3559e9f07ef60010803dd550699fb45
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
8940af7https://github.com/python/cpython/pull/94604/commits/8940af77b3559e9f07ef60010803dd550699fb45
https://github.com/python/cpython/tree/8940af77b3559e9f07ef60010803dd550699fb45
Merge branch 'main' into performance/list_pophttps://github.com/python/cpython/pull/94604/commits/9635cfe89ca404ef6ca1d33bc2ad114bae28d632
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
9635cfehttps://github.com/python/cpython/pull/94604/commits/9635cfe89ca404ef6ca1d33bc2ad114bae28d632
https://github.com/python/cpython/tree/9635cfe89ca404ef6ca1d33bc2ad114bae28d632
Merge branch 'main' into performance/list_pophttps://github.com/python/cpython/pull/94604/commits/91afa40f9923e36b6447b70fde25354455d3e964
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
91afa40https://github.com/python/cpython/pull/94604/commits/91afa40f9923e36b6447b70fde25354455d3e964
https://github.com/python/cpython/tree/91afa40f9923e36b6447b70fde25354455d3e964
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/94604/commits/44a4efe94f07040f73b0d3d0a84942001c8d5733
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
corona10https://github.com/python/cpython/commits?author=corona10
44a4efehttps://github.com/python/cpython/pull/94604/commits/44a4efe94f07040f73b0d3d0a84942001c8d5733
https://github.com/python/cpython/tree/44a4efe94f07040f73b0d3d0a84942001c8d5733
rename to size_after_pophttps://github.com/python/cpython/pull/94604/commits/7c6c9fa0f441e65aad6037fc7705514ffaec0940
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
7c6c9fahttps://github.com/python/cpython/pull/94604/commits/7c6c9fa0f441e65aad6037fc7705514ffaec0940
https://github.com/python/cpython/tree/7c6c9fa0f441e65aad6037fc7705514ffaec0940
make variable consthttps://github.com/python/cpython/pull/94604/commits/7c1a8355d7ca723039d05546d171a2359644ce1c
https://github.com/eendebakpt
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
7c1a835https://github.com/python/cpython/pull/94604/commits/7c1a8355d7ca723039d05546d171a2359644ce1c
https://github.com/python/cpython/tree/7c1a8355d7ca723039d05546d171a2359644ce1c
Update Objects/listobject.chttps://github.com/python/cpython/pull/94604/commits/23eb3aa79c6e0fe9d0bcf4a969adb975f6d40bae
https://github.com/corona10
corona10https://github.com/python/cpython/commits?author=corona10
23eb3aahttps://github.com/python/cpython/pull/94604/commits/23eb3aa79c6e0fe9d0bcf4a969adb975f6d40bae
https://github.com/python/cpython/tree/23eb3aa79c6e0fe9d0bcf4a969adb975f6d40bae
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.