Title: gh-99941: asyncio.Protocol.data_received now received immutable bytes by DarioDaF · Pull Request #100053 · python/cpython · GitHub
Open Graph Title: gh-99941: asyncio.Protocol.data_received now received immutable bytes by DarioDaF · Pull Request #100053 · python/cpython
X Title: gh-99941: asyncio.Protocol.data_received now received immutable bytes by DarioDaF · Pull Request #100053 · python/cpython
Description: Made asyncio.Protocol.data_received receive immutable object bytes instead of bytearrays (like defined in the docs) with regression tests added and opted to use memoryview to take the slices for performance on big buffers. Performance test from #21442 done on my machine with 10 repetitions on release build with timings 0.043 (delta: 0.019) before patch and 0.041 (delta: 0.010) after so no noticable change in performance. Issue: gh-99941
Open Graph Description: Made asyncio.Protocol.data_received receive immutable object bytes instead of bytearrays (like defined in the docs) with regression tests added and opted to use memoryview to take the slices for pe...
X Description: Made asyncio.Protocol.data_received receive immutable object bytes instead of bytearrays (like defined in the docs) with regression tests added and opted to use memoryview to take the slices for pe...
Opengraph URL: https://github.com/python/cpython/pull/100053
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:c64272ec-805f-8123-9417-3ef060aea664 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9F3A:196750:F2A8BB:14C9CC9:6969F3F2 |
| html-safe-nonce | 1e529eb3795e94b7a700b635b3a82f2cd2b5fc4a854b83211231783d450bd9ad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjNBOjE5Njc1MDpGMkE4QkI6MTRDOUNDOTo2OTY5RjNGMiIsInZpc2l0b3JfaWQiOiI4NDA2NzU3NzY0NzYyMzAxNDI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0b0e69735ac63f959f0368e5821fead92a0e41052ae222784512d87f306fe692 |
| hovercard-subject-tag | pull_request:1148614172 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/python/cpython/pull/100053/checks |
| twitter:image | https://avatars.githubusercontent.com/u/10617344?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10617344?s=400&v=4 |
| og:image:alt | Made asyncio.Protocol.data_received receive immutable object bytes instead of bytearrays (like defined in the docs) with regression tests added and opted to use memoryview to take the slices for pe... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width