Title: buffer: return fastbuffer directly instead of buffer.alloc(0) by gurgunday · Pull Request #60398 · nodejs/node · GitHub
Open Graph Title: buffer: return fastbuffer directly instead of buffer.alloc(0) by gurgunday · Pull Request #60398 · nodejs/node
X Title: buffer: return fastbuffer directly instead of buffer.alloc(0) by gurgunday · Pull Request #60398 · nodejs/node
Description: As in other places here, we don't need to call Buffer.alloc(0), which validates the length and calls FastBuffer anyway This bypasses the validation logic and is consequently faster
Open Graph Description: As in other places here, we don't need to call Buffer.alloc(0), which validates the length and calls FastBuffer anyway This bypasses the validation logic and is consequently faster
X Description: As in other places here, we don't need to call Buffer.alloc(0), which validates the length and calls FastBuffer anyway This bypasses the validation logic and is consequently faster
Opengraph URL: https://github.com/nodejs/node/pull/60398
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a0839dd5-83eb-70fd-b027-4b10129e0766 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DBD2:9FD91:1D2087:268A19:6A4C24F0 |
| html-safe-nonce | 851c0c94aafc5837683015934f5b8acf9f13f6ece6a86d34bc61c4e47262b6d8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkQyOjlGRDkxOjFEMjA4NzoyNjhBMTk6NkE0QzI0RjAiLCJ2aXNpdG9yX2lkIjoiOTAxNjk4NjYxMDgxODYyMjcwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e0a9c4644ac8d56fdf5e14f9e934fefdd17e3e91ecafb819b1d6d84c640ab874 |
| hovercard-subject-tag | pull_request:2946236879 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/nodejs/node/pull/60398/files |
| twitter:image | https://avatars.githubusercontent.com/u/74139498?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/74139498?s=400&v=4 |
| og:image:alt | As in other places here, we don't need to call Buffer.alloc(0), which validates the length and calls FastBuffer anyway This bypasses the validation logic and is consequently faster |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1b6b16d04026f131a36d57e3b01d0f4d26a51800edf48bf5ed0256e0ac905511 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9ee13484b32cf23e15fde191da4c9aa47d41201c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width