Title: Speed up bytes creation from list and tuple · Issue #128213 · python/cpython · GitHub
Open Graph Title: Speed up bytes creation from list and tuple · Issue #128213 · python/cpython
X Title: Speed up bytes creation from list and tuple · Issue #128213 · python/cpython
Description: Feature or enhancement Proposal: The performance of bytes creation from list and tuple can benefit from the same fast path using PySequence_Fast_ITEMS done for bytearray in gh-91149. I have a PR ready. Has this already been discussed els...
Open Graph Description: Feature or enhancement Proposal: The performance of bytes creation from list and tuple can benefit from the same fast path using PySequence_Fast_ITEMS done for bytearray in gh-91149. I have a PR re...
X Description: Feature or enhancement Proposal: The performance of bytes creation from list and tuple can benefit from the same fast path using PySequence_Fast_ITEMS done for bytearray in gh-91149. I have a PR re...
Opengraph URL: https://github.com/python/cpython/issues/128213
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Speed up bytes creation from list and tuple","articleBody":"# Feature or enhancement\n\n### Proposal:\n\nThe performance of bytes creation from list and tuple can benefit from the same fast path using `PySequence_Fast_ITEMS` done for bytearray in gh-91149.\n\nI have a PR ready.\n\n### Has this already been discussed elsewhere?\n\nThis is a minor feature, which does not need previous discussion elsewhere\n\n### Links to previous discussion of this feature:\n\n_No response_\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-128214\n* gh-132590\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/blhsing","@type":"Person","name":"blhsing"},"datePublished":"2024-12-24T07:36:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/128213/cpython/issues/128213"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:65a31723-8d00-2c86-b81a-c0f1051259ea |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AB42:1C20BB:1F24912:2B7E68B:696E2B5F |
| html-safe-nonce | af6793bbc18ee60517d304dc4d0ab10444746f3cac85b5b2ff1484f7d2521524 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjQyOjFDMjBCQjoxRjI0OTEyOjJCN0U2OEI6Njk2RTJCNUYiLCJ2aXNpdG9yX2lkIjoiNzUzMzI3NTQ0ODEzNzg4NjU1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 28bef98a7d3d345eea977868675d363f165e82d303c3a0300f95c0953c930243 |
| hovercard-subject-tag | issue:2757343257 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/128213/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cbdf1c1cfcb7ea5e013dbac44e768ef6a7e11b74856dc4b794049edb90b6ec65/python/cpython/issues/128213 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cbdf1c1cfcb7ea5e013dbac44e768ef6a7e11b74856dc4b794049edb90b6ec65/python/cpython/issues/128213 |
| og:image:alt | Feature or enhancement Proposal: The performance of bytes creation from list and tuple can benefit from the same fast path using PySequence_Fast_ITEMS done for bytearray in gh-91149. I have a PR re... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | blhsing |
| hostname | github.com |
| expected-hostname | github.com |
| None | 878b142339d396b81902fd0c6d3f2f41511e1864f596c5a601660d91d0d60e59 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 20fb42f07915f87665e5bccffc415f231d50cfac |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width