René's URL Explorer Experiment


Title: src: use string_view for report and related code by addaleax · Pull Request #46723 · nodejs/node · GitHub

Open Graph Title: src: use string_view for report and related code by addaleax · Pull Request #46723 · nodejs/node

X Title: src: use string_view for report and related code by addaleax · Pull Request #46723 · nodejs/node

Description: Use std::string_view for process.report code and related code, drop a few unnecessary std::to_string calls, and use MaybeStackBuffer instead of MallocedBuffer, all in order to avoid unnecessary heap allocations.

Open Graph Description: Use std::string_view for process.report code and related code, drop a few unnecessary std::to_string calls, and use MaybeStackBuffer instead of MallocedBuffer, all in order to avoid unnecessary hea...

X Description: Use std::string_view for process.report code and related code, drop a few unnecessary std::to_string calls, and use MaybeStackBuffer instead of MallocedBuffer, all in order to avoid unnecessary hea...

Opengraph URL: https://github.com/nodejs/node/pull/46723

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files/:range(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0ddedfd2-320a-9cb7-acf5-52eb4cc579e5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBCAE:2D6774:14F2124:1D6DE92:6997203E
html-safe-nonce1449dd08c00d45912507a8a32cadbabba87bc85133c2781d1b508f515022cb1e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0FFOjJENjc3NDoxNEYyMTI0OjFENkRFOTI6Njk5NzIwM0UiLCJ2aXNpdG9yX2lkIjoiNTc5OTA1NzY0NTIyOTI2MTQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacaadf8671b8fda172417b80cfa32410d178e1ec179924a3ad56d60ae6650ee3ff
hovercard-subject-tagpull_request:1246138707
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc
twitter:imagehttps://avatars.githubusercontent.com/u/899444?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/899444?s=400&v=4
og:image:altUse std::string_view for process.report code and related code, drop a few unnecessary std::to_string calls, and use MaybeStackBuffer instead of MallocedBuffer, all in order to avoid unnecessary hea...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7e6af791057690a60ffd9f5bb19a1e7b7637429945357211e6d6d09f15f081ae
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea8e66f4dd4c3390d4f6cbc2473146f1848b2971f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F46723%2Ffiles%2F3c257e23d8ff087d8393dcb2c0689b2e5942efbc
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%2Fnodejs%2Fnode%2Fpull%2F46723%2Ffiles%2F3c257e23d8ff087d8393dcb2c0689b2e5942efbc
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%2Ffiles&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc
Reloadhttps://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc
Reloadhttps://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 34.8k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 116k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.8k https://github.com/nodejs/node/issues
Pull requests 712 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects 3 https://github.com/nodejs/node/projects
Security 0 https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose
nodejs-github-bothttps://github.com/nodejs-github-bot
nodejs:mainhttps://github.com/nodejs/node/tree/main
addaleax:json-utils-stringviewhttps://github.com/addaleax/node/tree/json-utils-stringview
Conversation 13 https://github.com/nodejs/node/pull/46723
Commits 2 https://github.com/nodejs/node/pull/46723/commits
Checks 0 https://github.com/nodejs/node/pull/46723/checks
Files changed https://github.com/nodejs/node/pull/46723/files
Please reload this pagehttps://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc
src: use string_view for report and related code https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#top
Show all changes 2 commits https://github.com/nodejs/node/pull/46723/files
892e859 src: use string_view for report and related code addaleax Feb 18, 2023 https://github.com/nodejs/node/pull/46723/commits/892e85936d6c48c6a5b2b8ff371f70ccc1e6a85c
3c257e2 fixup! src: use string_view for report and related code addaleax Feb 18, 2023 https://github.com/nodejs/node/pull/46723/commits/3c257e23d8ff087d8393dcb2c0689b2e5942efbc
Clear filters https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc
Please reload this pagehttps://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc
Please reload this pagehttps://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc
json_utils.cc https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-983c020b23cfa46a19fc1964eef422ffea0e96073a1a9607bac586af1dd99302
json_utils.h https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-b47d99257d2803f65e5a7ab2ffdba7de6a7b50ac18af202bf1fcce2cebc0c6fa
node_api.cc https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-2057dbe503dbb37a65a74cf86e056d50c27ba828070577e0f7f07e734365c9bc
node_errors.cc https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-090d65062da5652b79f8a641489e4bd33b37faf28b8e91cc2ac31ab43084a3d2
node_report.cc https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-16cddcd719418092bf9f602309598657f14d1160548cb2803ab98a16328a4f3d
node_report_utils.cc https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-bb0e5d4e93328197ec29fdbf3caaa7749fe51582d305309f62a236e54b73f260
util.h https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-40ab92941994ec9418dbb76ae46d5aef0e4cb8b034f2be2b31562bb9aca8070f
src/json_utils.cchttps://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-983c020b23cfa46a19fc1964eef422ffea0e96073a1a9607bac586af1dd99302
View file https://github.com/addaleax/node/blob/3c257e23d8ff087d8393dcb2c0689b2e5942efbc/src/json_utils.cc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/46723/files/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-983c020b23cfa46a19fc1964eef422ffea0e96073a1a9607bac586af1dd99302
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-983c020b23cfa46a19fc1964eef422ffea0e96073a1a9607bac586af1dd99302
src/json_utils.hhttps://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-b47d99257d2803f65e5a7ab2ffdba7de6a7b50ac18af202bf1fcce2cebc0c6fa
View file https://github.com/addaleax/node/blob/3c257e23d8ff087d8393dcb2c0689b2e5942efbc/src/json_utils.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/46723/files/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-b47d99257d2803f65e5a7ab2ffdba7de6a7b50ac18af202bf1fcce2cebc0c6fa
Please reload this pagehttps://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-b47d99257d2803f65e5a7ab2ffdba7de6a7b50ac18af202bf1fcce2cebc0c6fa
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-b47d99257d2803f65e5a7ab2ffdba7de6a7b50ac18af202bf1fcce2cebc0c6fa
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-b47d99257d2803f65e5a7ab2ffdba7de6a7b50ac18af202bf1fcce2cebc0c6fa
src/node_api.cchttps://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-2057dbe503dbb37a65a74cf86e056d50c27ba828070577e0f7f07e734365c9bc
View file https://github.com/addaleax/node/blob/3c257e23d8ff087d8393dcb2c0689b2e5942efbc/src/node_api.cc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/46723/files/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-2057dbe503dbb37a65a74cf86e056d50c27ba828070577e0f7f07e734365c9bc
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-2057dbe503dbb37a65a74cf86e056d50c27ba828070577e0f7f07e734365c9bc
src/node_errors.cchttps://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-090d65062da5652b79f8a641489e4bd33b37faf28b8e91cc2ac31ab43084a3d2
View file https://github.com/addaleax/node/blob/3c257e23d8ff087d8393dcb2c0689b2e5942efbc/src/node_errors.cc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/46723/files/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-090d65062da5652b79f8a641489e4bd33b37faf28b8e91cc2ac31ab43084a3d2
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-090d65062da5652b79f8a641489e4bd33b37faf28b8e91cc2ac31ab43084a3d2
src/node_report.cchttps://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-16cddcd719418092bf9f602309598657f14d1160548cb2803ab98a16328a4f3d
View file https://github.com/addaleax/node/blob/3c257e23d8ff087d8393dcb2c0689b2e5942efbc/src/node_report.cc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/46723/files/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-16cddcd719418092bf9f602309598657f14d1160548cb2803ab98a16328a4f3d
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-16cddcd719418092bf9f602309598657f14d1160548cb2803ab98a16328a4f3d
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-16cddcd719418092bf9f602309598657f14d1160548cb2803ab98a16328a4f3d
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-16cddcd719418092bf9f602309598657f14d1160548cb2803ab98a16328a4f3d
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-16cddcd719418092bf9f602309598657f14d1160548cb2803ab98a16328a4f3d
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-16cddcd719418092bf9f602309598657f14d1160548cb2803ab98a16328a4f3d
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-16cddcd719418092bf9f602309598657f14d1160548cb2803ab98a16328a4f3d
src/node_report_utils.cchttps://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-bb0e5d4e93328197ec29fdbf3caaa7749fe51582d305309f62a236e54b73f260
View file https://github.com/addaleax/node/blob/3c257e23d8ff087d8393dcb2c0689b2e5942efbc/src/node_report_utils.cc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/46723/files/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-bb0e5d4e93328197ec29fdbf3caaa7749fe51582d305309f62a236e54b73f260
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-bb0e5d4e93328197ec29fdbf3caaa7749fe51582d305309f62a236e54b73f260
src/util.hhttps://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-40ab92941994ec9418dbb76ae46d5aef0e4cb8b034f2be2b31562bb9aca8070f
View file https://github.com/addaleax/node/blob/3c257e23d8ff087d8393dcb2c0689b2e5942efbc/src/util.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/46723/files/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-40ab92941994ec9418dbb76ae46d5aef0e4cb8b034f2be2b31562bb9aca8070f
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-40ab92941994ec9418dbb76ae46d5aef0e4cb8b034f2be2b31562bb9aca8070f
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-40ab92941994ec9418dbb76ae46d5aef0e4cb8b034f2be2b31562bb9aca8070f
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-40ab92941994ec9418dbb76ae46d5aef0e4cb8b034f2be2b31562bb9aca8070f
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-40ab92941994ec9418dbb76ae46d5aef0e4cb8b034f2be2b31562bb9aca8070f
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-40ab92941994ec9418dbb76ae46d5aef0e4cb8b034f2be2b31562bb9aca8070f
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-40ab92941994ec9418dbb76ae46d5aef0e4cb8b034f2be2b31562bb9aca8070f
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-40ab92941994ec9418dbb76ae46d5aef0e4cb8b034f2be2b31562bb9aca8070f
https://github.com/nodejs/node/pull/46723/files/3c257e23d8ff087d8393dcb2c0689b2e5942efbc#diff-40ab92941994ec9418dbb76ae46d5aef0e4cb8b034f2be2b31562bb9aca8070f
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.