René's URL Explorer Experiment


Title: bpo-46993: Speed up bytearray creation from list and tuple by kumaraditya303 · Pull Request #31834 · python/cpython · GitHub

Open Graph Title: bpo-46993: Speed up bytearray creation from list and tuple by kumaraditya303 · Pull Request #31834 · python/cpython

X Title: bpo-46993: Speed up bytearray creation from list and tuple by kumaraditya303 · Pull Request #31834 · python/cpython

Description: Speeds up bytearray creation from list and tuples. Benchmark: import pyperf runner = pyperf.Runner() runner.timeit(name="bench bytearray", stmt="bytearray([42]*10000)",) Result: Mean...

Open Graph Description: Speeds up bytearray creation from list and tuples. Benchmark: import pyperf runner = pyperf.Runner() runner.timeit(name="bench bytearray", stmt="bytearray([42]*10000)&...

X Description: Speeds up bytearray creation from list and tuples. Benchmark: import pyperf runner = pyperf.Runner() runner.timeit(name="bench bytearray", stmt="bytearray(...

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

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:1f02e657-e73f-f987-adfb-ad6fce799ed0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBB7C:E1118:64BF44:84EBF6:6970146E
html-safe-nonceaa9ad6c7259850fdc65d61fe91dc8e25a02c955098da8b0687d90ea7b551c9cc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjdDOkUxMTE4OjY0QkY0NDo4NEVCRjY6Njk3MDE0NkUiLCJ2aXNpdG9yX2lkIjoiMzIxMzU2MjYwNzg2Nzc5NDU0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace9afe81e387bed7598da3bf1cd58b133b21e2bf2ea3563da0ee11c959753cb9d
hovercard-subject-tagpull_request:878127180
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/31834/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c1e58fc9f42bf7ea570a5dd1ec16e780f57278b82d99a19860253a7d7715546a/python/cpython/pull/31834
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c1e58fc9f42bf7ea570a5dd1ec16e780f57278b82d99a19860253a7d7715546a/python/cpython/pull/31834
og:image:altSpeeds up bytearray creation from list and tuples. Benchmark: import pyperf runner = pyperf.Runner() runner.timeit(name="bench bytearray", stmt="bytearray([42]*10000)&...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekumaraditya303
hostnamegithub.com
expected-hostnamegithub.com
None043a09521e81f00c45482046b3f38390b8b292cf9a86ad665a632633a072c05c
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
release98881eadf8ae73000970c42161c094b0809b1330
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/31834#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31834
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%2F31834
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/31834
Reloadhttps://github.com/python/cpython/pull/31834
Reloadhttps://github.com/python/cpython/pull/31834
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/31834
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.2k 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/31834
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/31834#issue-comment-box
asvetlovhttps://github.com/asvetlov
python:mainhttps://github.com/python/cpython/tree/main
kumaraditya303:bytearrayhttps://github.com/kumaraditya303/cpython/tree/bytearray
bpo-46993: Speed up bytearray creation from list and tuple https://github.com/python/cpython/pull/31834#top
asvetlovhttps://github.com/asvetlov
python:mainhttps://github.com/python/cpython/tree/main
kumaraditya303:bytearrayhttps://github.com/kumaraditya303/cpython/tree/bytearray
Conversation 7 https://github.com/python/cpython/pull/31834
Commits 6 https://github.com/python/cpython/pull/31834/commits
Checks 0 https://github.com/python/cpython/pull/31834/checks
Files changed https://github.com/python/cpython/pull/31834/files
Please reload this pagehttps://github.com/python/cpython/pull/31834
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Mar 12, 2022https://github.com/python/cpython/pull/31834#issue-1167231657
Please reload this pagehttps://github.com/python/cpython/pull/31834
https://bugs.python.org/issue46993https://bugs.python.org/issue46993
Please reload this pagehttps://github.com/python/cpython/pull/31834
https://github.com/kumaraditya303
fast bytearray for list and tuplehttps://github.com/python/cpython/pull/31834/commits/7a54d01ce9bd4d55306d66ba1d46c926b20d5a10
7a54d01https://github.com/python/cpython/pull/31834/commits/7a54d01ce9bd4d55306d66ba1d46c926b20d5a10
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
Mar 12, 2022https://github.com/python/cpython/pull/31834#event-6229448706
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
Mar 12, 2022https://github.com/python/cpython/pull/31834#event-6229448709
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Mar 12, 2022https://github.com/python/cpython/pull/31834#event-6229481928
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
March 12, 2022 09:41https://github.com/python/cpython/pull/31834#event-6229482086
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/31834/commits/ce8d0cfaadf498513da498794ac5d118b51a5bbb
ce8d0cfhttps://github.com/python/cpython/pull/31834/commits/ce8d0cfaadf498513da498794ac5d118b51a5bbb
https://github.com/peendebak
peendebakhttps://github.com/peendebak
Mar 12, 2022 https://github.com/python/cpython/pull/31834#pullrequestreview-908050932
View reviewed changes https://github.com/python/cpython/pull/31834/files/ce8d0cfaadf498513da498794ac5d118b51a5bbb
Objects/bytearrayobject.chttps://github.com/python/cpython/pull/31834/files/ce8d0cfaadf498513da498794ac5d118b51a5bbb#diff-6878f29bbfb711dc7cd2a89b2b2941b1f900b6367d30181a2ff45460b591b04c
Please reload this pagehttps://github.com/python/cpython/pull/31834
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Mar 12, 2022 https://github.com/python/cpython/pull/31834#pullrequestreview-908056488
View reviewed changes https://github.com/python/cpython/pull/31834/files/ce8d0cfaadf498513da498794ac5d118b51a5bbb
Objects/bytearrayobject.chttps://github.com/python/cpython/pull/31834/files/ce8d0cfaadf498513da498794ac5d118b51a5bbb#diff-6878f29bbfb711dc7cd2a89b2b2941b1f900b6367d30181a2ff45460b591b04c
Please reload this pagehttps://github.com/python/cpython/pull/31834
kumaraditya303https://github.com/kumaraditya303
March 13, 2022 06:13https://github.com/python/cpython/pull/31834#commits-pushed-391840b
https://github.com/kumaraditya303
code reviewhttps://github.com/python/cpython/pull/31834/commits/391840bf822b347ba4cce2bb3b9f1f87fb74acd2
391840bhttps://github.com/python/cpython/pull/31834/commits/391840bf822b347ba4cce2bb3b9f1f87fb74acd2
https://github.com/kumaraditya303
Merge branch 'bytearray' ofhttps://github.com/python/cpython/pull/31834/commits/b8a08ddaa35e13ee6df20cba5ed658c71a7809e7
https://github.com/kumaraditya303/cpythonhttps://github.com/kumaraditya303/cpython
https://github.com/python/cpython/pull/31834/commits/b8a08ddaa35e13ee6df20cba5ed658c71a7809e7
b8a08ddhttps://github.com/python/cpython/pull/31834/commits/b8a08ddaa35e13ee6df20cba5ed658c71a7809e7
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
gvanrossumhttps://github.com/gvanrossum
March 13, 2022 06:27https://github.com/python/cpython/pull/31834#event-6230703268
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
March 13, 2022 06:30https://github.com/python/cpython/pull/31834#event-6230705228
kumaraditya303https://github.com/kumaraditya303
March 13, 2022 06:58https://github.com/python/cpython/pull/31834#commits-pushed-c937642
https://github.com/kumaraditya303
resize to 0 with slowpathhttps://github.com/python/cpython/pull/31834/commits/c937642f127c939a36e5db417bd2f73eef0f61fc
c937642https://github.com/python/cpython/pull/31834/commits/c937642f127c939a36e5db417bd2f73eef0f61fc
https://github.com/kumaraditya303
add a commenthttps://github.com/python/cpython/pull/31834/commits/18e41d576a519ded5d564c3de80b63cb8bcfda3e
18e41d5https://github.com/python/cpython/pull/31834/commits/18e41d576a519ded5d564c3de80b63cb8bcfda3e
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
March 13, 2022 07:28https://github.com/python/cpython/pull/31834#event-6230755263
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Mar 13, 2022 https://github.com/python/cpython/pull/31834#pullrequestreview-908168469
View reviewed changes https://github.com/python/cpython/pull/31834/files/18e41d576a519ded5d564c3de80b63cb8bcfda3e
gvanrossumhttps://github.com/gvanrossum
https://github.com/python/cpython/pull/31834#pullrequestreview-908168469
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/31834
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Mar 13, 2022https://github.com/python/cpython/pull/31834#event-6231420587
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
Mar 15, 2022 https://github.com/python/cpython/pull/31834#pullrequestreview-910202145
View reviewed changes https://github.com/python/cpython/pull/31834/files/18e41d576a519ded5d564c3de80b63cb8bcfda3e
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
6dfe09fhttps://github.com/python/cpython/commit/6dfe09fc5fd5a3ddc6009d5656e635eae30c5240
Mar 15, 2022https://github.com/python/cpython/pull/31834#event-6243221306
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Mar 15, 2022https://github.com/python/cpython/pull/31834#event-6243221657
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
March 15, 2022 13:28https://github.com/python/cpython/pull/31834#event-6243230384
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Mar 15, 2022https://github.com/python/cpython/pull/31834#issuecomment-1067989687
@asvetlovhttps://github.com/asvetlov
@gvanrossumhttps://github.com/gvanrossum
Please reload this pagehttps://github.com/python/cpython/pull/31834
https://github.com/blhsing
blhsinghttps://github.com/blhsing
Dec 25, 2024 https://github.com/python/cpython/pull/31834#ref-pullrequest-2757346688
gh-128213: fast path for bytes creation from list and tuple #128214 https://github.com/python/cpython/pull/128214
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%2F31834
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/cpython/pull/31834/files/ce8d0cfaadf498513da498794ac5d118b51a5bbb
https://github.com/asvetlov
asvetlov https://github.com/asvetlov
https://github.com/python/cpython/pull/31834/files/18e41d576a519ded5d564c3de80b63cb8bcfda3e
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
https://github.com/python/cpython/pull/31834/files/18e41d576a519ded5d564c3de80b63cb8bcfda3e
https://github.com/peendebak
peendebak https://github.com/peendebak
https://github.com/python/cpython/pull/31834/files/ce8d0cfaadf498513da498794ac5d118b51a5bbb
Please reload this pagehttps://github.com/python/cpython/pull/31834
https://github.com/kumaraditya303
https://github.com/asvetlov
https://github.com/JelleZijlstra
https://github.com/gvanrossum
https://github.com/peendebak
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.