René's URL Explorer Experiment


Title: perf(format): cache breaklines and spaces as much as possible by H4ad · Pull Request #81 · microsoft/node-jsonc-parser · GitHub

Open Graph Title: perf(format): cache breaklines and spaces as much as possible by H4ad · Pull Request #81 · microsoft/node-jsonc-parser

X Title: perf(format): cache breaklines and spaces as much as possible by H4ad · Pull Request #81 · microsoft/node-jsonc-parser

Description: Scanner and parser for JSON with comments. Contribute to microsoft/node-jsonc-parser development by creating an account on GitHub.

Open Graph Description: This PR basically tries to cache as much as possible the strings and spaces created since they are basically the same, there's no need to allocate new memory for those strings. This optimizatio...

X Description: This PR basically tries to cache as much as possible the strings and spaces created since they are basically the same, there's no need to allocate new memory for those strings. This optimiz...

Opengraph URL: https://github.com/microsoft/node-jsonc-parser/pull/81

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:49727012-95e6-a178-024b-71f62d78a4ca
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id856C:19AA62:B3DB39:E5F44A:6B00F859
html-safe-noncedee35c3496d4f71a0ad5f85734a01be75e202d438a762177b5a5c50923aa0c60
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTZDOjE5QUE2MjpCM0RCMzk6RTVGNDRBOjZCMDBGODU5IiwidmlzaXRvcl9pZCI6IjgzMzY1NTcwMzk3MzE5MzEyMjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7c19f5318b99a6b3f03d63b39ce7612e71161721b1c08ff32b8703caf46af7da
hovercard-subject-tagpull_request:1677471584
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/microsoft/node-jsonc-parser/81/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a5454f5853643d385c9c34d80d2f002c9a91e34b7d3dbed4933f968aeb1a8a57/microsoft/node-jsonc-parser/pull/81
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a5454f5853643d385c9c34d80d2f002c9a91e34b7d3dbed4933f968aeb1a8a57/microsoft/node-jsonc-parser/pull/81
og:image:altThis PR basically tries to cache as much as possible the strings and spaces created since they are basically the same, there's no need to allocate new memory for those strings. This optimizatio...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameH4ad
hostnamegithub.com
expected-hostnamegithub.com
Nonee208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187
turbo-cache-controlno-cache
go-importgithub.com/microsoft/node-jsonc-parser git https://github.com/microsoft/node-jsonc-parser.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id56496360
octolytics-dimension-repository_nwomicrosoft/node-jsonc-parser
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id56496360
octolytics-dimension-repository_network_root_nwomicrosoft/node-jsonc-parser
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
release7dafd017fb7809a839c443dba08622af38e63c09
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/node-jsonc-parser/pull/81#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fnode-jsonc-parser%2Fpull%2F81
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fnode-jsonc-parser%2Fpull%2F81
Sign uphttps://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=microsoft%2Fnode-jsonc-parser
Reloadhttps://github.com/microsoft/node-jsonc-parser/pull/81
Reloadhttps://github.com/microsoft/node-jsonc-parser/pull/81
Reloadhttps://github.com/microsoft/node-jsonc-parser/pull/81
microsofthttps://github.com/microsoft
node-jsonc-parserhttps://github.com/microsoft/node-jsonc-parser
Codehttps://github.com/microsoft/node-jsonc-parser
Issues21 (21)https://github.com/microsoft/node-jsonc-parser/issues
Pull requests13 (13)https://github.com/microsoft/node-jsonc-parser/pulls
Actionshttps://github.com/microsoft/node-jsonc-parser/actions
Projectshttps://github.com/microsoft/node-jsonc-parser/projects
Security and qualityhttps://github.com/microsoft/node-jsonc-parser/security
Insightshttps://github.com/microsoft/node-jsonc-parser/insights
https://github.com/microsoft/node-jsonc-parser
Martin Aeschlimann (aeschli)https://github.com/aeschli
microsoft:mainhttps://github.com/microsoft/node-jsonc-parser/tree/main
h4ad-forks:perf/intern-stringshttps://github.com/h4ad-forks/node-jsonc-parser/tree/perf/intern-strings
Conversationhttps://github.com/microsoft/node-jsonc-parser/pull/81
Commits1 (1)https://github.com/microsoft/node-jsonc-parser/pull/81/commits
Checkshttps://github.com/microsoft/node-jsonc-parser/pull/81/checks
Files changedhttps://github.com/microsoft/node-jsonc-parser/pull/81/files
perf(format): cache breaklines and spaces as much as possiblehttps://github.com/microsoft/node-jsonc-parser/pull/81#top
Martin Aeschlimann (aeschli)https://github.com/aeschli
microsoft:mainhttps://github.com/microsoft/node-jsonc-parser/tree/main
h4ad-forks:perf/intern-stringshttps://github.com/h4ad-forks/node-jsonc-parser/tree/perf/intern-strings
https://github.com/H4ad
Vinicius Lourenço (H4ad)https://github.com/H4ad
Jan 13, 2024https://github.com/microsoft/node-jsonc-parser/pull/81#issue-2079963797
rrdom-benchmark-1.json.ziphttps://github.com/microsoft/node-jsonc-parser/files/13925355/rrdom-benchmark-1.json.zip
Please reload this pagehttps://github.com/microsoft/node-jsonc-parser/pull/81
https://github.com/H4ad
perf(format): internalize breaklines and spaces as much as possiblehttps://github.com/microsoft/node-jsonc-parser/pull/81/commits/6e702e49e4fd745872b0bb2c0c72660f2480f26e
6e702e4https://github.com/microsoft/node-jsonc-parser/pull/81/commits/6e702e49e4fd745872b0bb2c0c72660f2480f26e
https://github.com/H4ad
Vinicius Lourenço (H4ad)https://github.com/H4ad
Jan 13, 2024https://github.com/microsoft/node-jsonc-parser/pull/81#issuecomment-1890238115
Please reload this pagehttps://github.com/microsoft/node-jsonc-parser/pull/81
feat: format with generator #82 https://github.com/microsoft/node-jsonc-parser/pull/82
perf(format): add fast path using json stringify/parse #83 https://github.com/microsoft/node-jsonc-parser/pull/83
https://github.com/H4ad
Vinicius Lourenço (H4ad)https://github.com/H4ad
Jan 13, 2024https://github.com/microsoft/node-jsonc-parser/pull/81#event-11478668331
https://github.com/mjbvz
Matt Bierner (mjbvz)https://github.com/mjbvz
Martin Aeschlimann (aeschli)https://github.com/aeschli
Jan 17, 2024https://github.com/microsoft/node-jsonc-parser/pull/81#event-11514626569
https://github.com/aeschli
Martin Aeschlimann (aeschli)https://github.com/aeschli
Jan 22, 2024 https://github.com/microsoft/node-jsonc-parser/pull/81#pullrequestreview-1837128709
View reviewed changes https://github.com/microsoft/node-jsonc-parser/pull/81/files/6e702e49e4fd745872b0bb2c0c72660f2480f26e
https://github.com/vscodenpa
VS Code Bot (vscodenpa)https://github.com/vscodenpa
Jan 22, 2024https://github.com/microsoft/node-jsonc-parser/pull/81#event-11560684374
https://github.com/amunger
Aaron Munger (amunger)https://github.com/amunger
Jan 22, 2024 https://github.com/microsoft/node-jsonc-parser/pull/81#pullrequestreview-1837220885
View reviewed changes https://github.com/microsoft/node-jsonc-parser/pull/81/files/6e702e49e4fd745872b0bb2c0c72660f2480f26e
https://github.com/aeschli
Martin Aeschlimann (aeschli)https://github.com/aeschli
c6d4008https://github.com/microsoft/node-jsonc-parser/commit/c6d400866962d4e3c0ccb445ecf2ce5c0fe23880
Jan 22, 2024https://github.com/microsoft/node-jsonc-parser/pull/81#event-11561317141
https://github.com/H4ad
Vinicius Lourenço (H4ad)https://github.com/H4ad
January 22, 2024 19:55https://github.com/microsoft/node-jsonc-parser/pull/81#event-11561329515
https://github.com/ljharb
Jordan Harband (ljharb)https://github.com/ljharb
Feb 14, 2024 https://github.com/microsoft/node-jsonc-parser/pull/81#pullrequestreview-1880871580
View reviewed changes https://github.com/microsoft/node-jsonc-parser/pull/81/files/6e702e49e4fd745872b0bb2c0c72660f2480f26e
src/impl/format.tshttps://github.com/microsoft/node-jsonc-parser/pull/81/files/6e702e49e4fd745872b0bb2c0c72660f2480f26e#diff-2022cfc33549d1e417aa8b10a7c32081ee761a5448c5b3d15797b09991ed0644
Jordan Harband (ljharb)https://github.com/ljharb
Feb 14, 2024https://github.com/microsoft/node-jsonc-parser/pull/81#discussion_r1489833516
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/node-jsonc-parser/pull/81
Vinicius Lourenço (H4ad)https://github.com/H4ad
Feb 14, 2024https://github.com/microsoft/node-jsonc-parser/pull/81#discussion_r1490131718
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/node-jsonc-parser/pull/81
Jordan Harband (ljharb)https://github.com/ljharb
Feb 16, 2024https://github.com/microsoft/node-jsonc-parser/pull/81#discussion_r1492983507
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/node-jsonc-parser/pull/81
Martin Aeschlimann (aeschli)https://github.com/aeschli
Feb 19, 2024https://github.com/microsoft/node-jsonc-parser/pull/81#discussion_r1494496419
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/node-jsonc-parser/pull/81
Jordan Harband (ljharb)https://github.com/ljharb
Feb 19, 2024https://github.com/microsoft/node-jsonc-parser/pull/81#discussion_r1494697272
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/node-jsonc-parser/pull/81
https://github.com/ljharb
Jordan Harband (ljharb)https://github.com/ljharb
Feb 14, 2024 https://github.com/microsoft/node-jsonc-parser/pull/81#ref-issue-2134833858
v3.2.1 has a breaking change #85 https://github.com/microsoft/node-jsonc-parser/issues/85
https://github.com/Exkaleburx
Kobibank (Exkaleburx)https://github.com/Exkaleburx
Jul 15, 2024 https://github.com/microsoft/node-jsonc-parser/pull/81#ref-pullrequest-2409121932
[Snyk] Upgrade jsonc-parser from 3.2.1 to 3.3.0 Exkaleburx/vscode-markdownlint#4 https://github.com/Exkaleburx/vscode-markdownlint/pull/4
https://github.com/SherfeyInv
Ron Sherfey (SherfeyInv)https://github.com/SherfeyInv
Jul 15, 2024 https://github.com/microsoft/node-jsonc-parser/pull/81#ref-pullrequest-2409259084
[Snyk] Upgrade jsonc-parser from 3.2.1 to 3.3.0 SherfeyInv/pyright#3 https://github.com/SherfeyInv/pyright/pull/3
https://github.com/apps/snyk-io
snyk-iohttps://github.com/apps/snyk-io
Jul 15, 2024 https://github.com/microsoft/node-jsonc-parser/pull/81#ref-pullrequest-2409375654
[Snyk] Upgrade jsonc-parser from 3.2.1 to 3.3.0 Hawthorne001/wireit#11 https://github.com/Hawthorne001/wireit/pull/11
https://github.com/Exkaleburx
Kobibank (Exkaleburx)https://github.com/Exkaleburx
Jul 16, 2024 https://github.com/microsoft/node-jsonc-parser/pull/81#ref-pullrequest-2410073226
[Snyk] Upgrade jsonc-parser from 3.2.1 to 3.3.1 Exkaleburx/vscode-markdownlint#5 https://github.com/Exkaleburx/vscode-markdownlint/pull/5
https://github.com/Robot-Inventor
roboin (Robot-Inventor)https://github.com/Robot-Inventor
Jul 16, 2024 https://github.com/microsoft/node-jsonc-parser/pull/81#ref-pullrequest-2410551275
[Snyk] Upgrade jsonc-parser from 3.2.1 to 3.3.1 Robot-Inventor/stc-filter#386 https://github.com/Robot-Inventor/stc-filter/pull/386
https://github.com/Linjieqiong001
Linjieqiong001https://github.com/Linjieqiong001
Jul 16, 2024 https://github.com/microsoft/node-jsonc-parser/pull/81#ref-pullrequest-2410649568
[Snyk] Upgrade jsonc-parser from 3.2.1 to 3.3.1 Linjieqiong001/pyright#3 https://github.com/Linjieqiong001/pyright/pull/3
https://github.com/ghaschel
Guilherme Haschel (ghaschel)https://github.com/ghaschel
Jul 17, 2024 https://github.com/microsoft/node-jsonc-parser/pull/81#ref-pullrequest-2412937931
[Snyk] Upgrade jsonc-parser from 3.2.1 to 3.3.1 ghaschel/vscode-angular-html#100 https://github.com/ghaschel/vscode-angular-html/pull/100
https://github.com/Stanislav1975
Stanislav1975 (Stanislav1975)https://github.com/Stanislav1975
Aug 9, 2024 https://github.com/microsoft/node-jsonc-parser/pull/81#ref-pullrequest-2458061893
[Snyk] Upgrade jsonc-parser from 2.3.1 to 3.3.1 Stanislav1975/codesandbox-client#53 https://github.com/Stanislav1975/codesandbox-client/pull/53
https://github.com/ashly1111111
ashly1111111https://github.com/ashly1111111
Sep 6, 2024 https://github.com/microsoft/node-jsonc-parser/pull/81#ref-pullrequest-2510981781
[Snyk] Upgrade: jsonc-parser, semver, node-filter-async, request-light, rxjs, stream, tmp, vscode-debugprotocol, vscode-extension-telemetry, vscode-languageserver-protocol ashly1111111/omnisharp-vscode#22 https://github.com/ashly1111111/omnisharp-vscode/pull/22
https://github.com/Exkaleburx
Kobibank (Exkaleburx)https://github.com/Exkaleburx
Sep 9, 2024 https://github.com/microsoft/node-jsonc-parser/pull/81#ref-pullrequest-2514710793
[Snyk] Upgrade: ignore, jsonc-parser, markdownlint-cli2, minimatch Exkaleburx/vscode-markdownlint#8 https://github.com/Exkaleburx/vscode-markdownlint/pull/8
https://github.com/VivekKumar06
VivekKumar06https://github.com/VivekKumar06
Sep 10, 2024 https://github.com/microsoft/node-jsonc-parser/pull/81#ref-pullrequest-2515988713
[Snyk] Upgrade: jsonc-parser, tmp VivekKumar06/pyright#1 https://github.com/VivekKumar06/pyright/pull/1
https://github.com/lucentlabz
MILEHIGH (lucentlabz)https://github.com/lucentlabz
Sep 10, 2024 https://github.com/microsoft/node-jsonc-parser/pull/81#ref-pullrequest-2517381851
[Snyk] Upgrade: , , , chalk, command-line-args, jsonc-parser, leven, tmp lucentlabz/pyright#1 https://github.com/lucentlabz/pyright/pull/1
https://github.com/XavierMP14
XAVIERMP (XavierMP14)https://github.com/XavierMP14
Sep 17, 2024 https://github.com/microsoft/node-jsonc-parser/pull/81#ref-pullrequest-2529908375
[Snyk] Upgrade: , cli-spinners, enquirer, jsonc-parser, lines-and-columns, minimatch, ora XavierMP14/nx#1 https://github.com/XavierMP14/nx/pull/1
https://github.com/Bonniemarie216
Bonniemarie216https://github.com/Bonniemarie216
Oct 18, 2024 https://github.com/microsoft/node-jsonc-parser/pull/81#ref-pullrequest-2598370451
[Snyk] Upgrade jsonc-parser from 3.2.0 to 3.3.1 Bonniemarie216/vscode#2 https://github.com/Bonniemarie216/vscode/pull/2
https://github.com/Sabiiii9944
Sabiiii9944https://github.com/Sabiiii9944
Oct 24, 2024 https://github.com/microsoft/node-jsonc-parser/pull/81#ref-pullrequest-2610484653
[Snyk] Upgrade jsonc-parser from 3.2.0 to 3.3.1 Sabiiii9944/vscode#4 https://github.com/Sabiiii9944/vscode/pull/4
https://github.com/HaLaGu1L
HaLaGu1L (HaLaGu1L)https://github.com/HaLaGu1L
Nov 1, 2024 https://github.com/microsoft/node-jsonc-parser/pull/81#ref-pullrequest-2628266860
[Snyk] Upgrade jsonc-parser from 3.2.0 to 3.3.1 HaLaGu1L/vscode#18 https://github.com/HaLaGu1L/vscode/pull/18
https://github.co/hiddenchars
https://github.com/microsoft/node-jsonc-parser/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fnode-jsonc-parser%2Fpull%2F81
https://github.com/aeschli
Martin Aeschlimann (aeschli) https://github.com/aeschli
https://github.com/microsoft/node-jsonc-parser/pull/81/files/6e702e49e4fd745872b0bb2c0c72660f2480f26e
https://github.com/amunger
Aaron Munger (amunger) https://github.com/amunger
https://github.com/microsoft/node-jsonc-parser/pull/81/files/6e702e49e4fd745872b0bb2c0c72660f2480f26e
https://github.com/ljharb
Jordan Harband (ljharb) https://github.com/ljharb
https://github.com/microsoft/node-jsonc-parser/pull/81/files/6e702e49e4fd745872b0bb2c0c72660f2480f26e
Please reload this pagehttps://github.com/microsoft/node-jsonc-parser/pull/81
https://github.com/aeschli
Martin Aeschlimann (aeschli) https://github.com/aeschli
Please reload this pagehttps://github.com/microsoft/node-jsonc-parser/pull/81
https://github.com/H4ad
https://github.com/ljharb
https://github.com/amunger
https://github.com/aeschli
https://github.com/vscodenpa
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.