René's URL Explorer Experiment


Title: buffer: add isLatin1 by jasnell · Pull Request #66298 · nodejs/node · GitHub

Open Graph Title: buffer: add isLatin1 by jasnell · Pull Request #66298 · nodejs/node

X Title: buffer: add isLatin1 by jasnell · Pull Request #66298 · nodejs/node

Description: Implements a fast check to determine if a string is Latin1 a byte string Latin1. Can be many times faster than the equivalent regex check. input isByteString regex loop short, one-byte 232M 122M 55M short, two-byte 207M 130M 56M short, invalid 106M 48M 53M long, one-byte 221M 93M 230k long, two-byte 6.7M 913k 186k long, invalid 75M 914k 234k (the larger perf gap there is with concatenated strings)

Open Graph Description: Implements a fast check to determine if a string is Latin1 a byte string Latin1. Can be many times faster than the equivalent regex check. input isByteString regex loop short, one-byte 232M ...

X Description: Implements a fast check to determine if a string is Latin1 a byte string Latin1. Can be many times faster than the equivalent regex check. input isByteString regex loop short, one-byte 232M ...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:01d1a62c-a999-5e66-d799-dd0aaf46aefb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDE68:19E603:75B19B:98FCD3:6AED31D4
html-safe-nonce0f99eb687f09c3e77f4814190c59bc7b58ff0d0fce0aa48f6c614d6415b9f15c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTY4OjE5RTYwMzo3NUIxOUI6OThGQ0QzOjZBRUQzMUQ0IiwidmlzaXRvcl9pZCI6IjI3ODU3MDA3NTc1OTM5OTM2ODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace9c1ee69db80323c34d624aab98ce30c242cd1fa1a82dbf9897b4ecebfb55d5d
hovercard-subject-tagpull_request:4641664392
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/66298/files
twitter:imagehttps://avatars.githubusercontent.com/u/439929?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/439929?s=400&v=4
og:image:altImplements a fast check to determine if a string is Latin1 a byte string Latin1. Can be many times faster than the equivalent regex check. input isByteString regex loop short, one-byte 232M ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee51d0b7b5ab34b1688c05b54c3ed17b8658b2fa9bca973a9c740683ccb12cf4a
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
release59ebb7b901cc154ecc179a44f266fcf69f343b30
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/pull/66298/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F66298%2Ffiles
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%2Fnodejs%2Fnode%2Fpull%2F66298%2Ffiles
Sign uphttps://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/66298/files
Reloadhttps://github.com/nodejs/node/pull/66298/files
Reloadhttps://github.com/nodejs/node/pull/66298/files
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues656 (656)https://github.com/nodejs/node/issues
Pull requests665 (665)https://github.com/nodejs/node/pulls
Actionshttps://github.com/nodejs/node/actions
Projectshttps://github.com/nodejs/node/projects
Security and qualityhttps://github.com/nodejs/node/security
Insightshttps://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
jasnell:jasnell/islatin1https://github.com/jasnell/node/tree/jasnell/islatin1
Conversation 20 https://github.com/nodejs/node/pull/66298
Commits 1 https://github.com/nodejs/node/pull/66298/commits
Checks 46 https://github.com/nodejs/node/pull/66298/checks
Files changed 7 https://github.com/nodejs/node/pull/66298/files
buffer: add isLatin1 https://github.com/nodejs/node/pull/66298/files#top
Show all changes 1 commit https://github.com/nodejs/node/pull/66298/files
799740c buffer: add isLatin1 jasnell Sep 25, 2026 https://github.com/nodejs/node/pull/66298/commits/799740cbd63e02b68fe4dd74fcabd0f6fc2e993c
Clear filters https://github.com/nodejs/node/pull/66298/files
Please reload this pagehttps://github.com/nodejs/node/pull/66298/files
Please reload this pagehttps://github.com/nodejs/node/pull/66298/files
buffer-islatin1.js https://github.com/nodejs/node/pull/66298/files#diff-0b4e90d651b903a2b3c13af1ea8c921833d79d6db076a08e2bda7aac3d878246
buffer.md https://github.com/nodejs/node/pull/66298/files#diff-2aeb90ba4258a1154f8558dc18c7ad46778ac0bb479f564fe96853d35303bca0
buffer.js https://github.com/nodejs/node/pull/66298/files#diff-3c2cd5c512dd026a7765b6b2ae3f85785d3b7ea3795e11949892b7b73beee630
node_buffer.cc https://github.com/nodejs/node/pull/66298/files#diff-81f77f34c4f5b8cc35f1a506808b94e2a281f3341c0f1a38ef2b8a8ba730b22b
test-buffer-islatin1.js https://github.com/nodejs/node/pull/66298/files#diff-71c0a1b498d6ff0fe4f0ba873ea23af359593c7d9021b57d2f7e04d01fbf76aa
test-buffer-isutf8-isascii-fast.js https://github.com/nodejs/node/pull/66298/files#diff-665efebf0497ec7f2ee2d590f381f6518231c9d2698a65f2dad0594b12286279
buffer.d.ts https://github.com/nodejs/node/pull/66298/files#diff-5e0886b5349a0b7bce3f3847e2ffe1c1e7c22a71d3c4601cbbf5645b2226d999
benchmark/buffers/buffer-islatin1.jshttps://github.com/nodejs/node/pull/66298/files#diff-0b4e90d651b903a2b3c13af1ea8c921833d79d6db076a08e2bda7aac3d878246
View file https://github.com/jasnell/node/blob/799740cbd63e02b68fe4dd74fcabd0f6fc2e993c/benchmark/buffers/buffer-islatin1.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/66298/{{ revealButtonHref }}
doc/api/buffer.mdhttps://github.com/nodejs/node/pull/66298/files#diff-2aeb90ba4258a1154f8558dc18c7ad46778ac0bb479f564fe96853d35303bca0
View file https://github.com/jasnell/node/blob/799740cbd63e02b68fe4dd74fcabd0f6fc2e993c/doc/api/buffer.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/66298/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/66298/files#diff-2aeb90ba4258a1154f8558dc18c7ad46778ac0bb479f564fe96853d35303bca0
https://github.com/nodejs/node/pull/66298/files#diff-2aeb90ba4258a1154f8558dc18c7ad46778ac0bb479f564fe96853d35303bca0
https://github.com/nodejs/node/pull/66298/files#diff-2aeb90ba4258a1154f8558dc18c7ad46778ac0bb479f564fe96853d35303bca0
https://github.com/nodejs/node/pull/66298/files#diff-2aeb90ba4258a1154f8558dc18c7ad46778ac0bb479f564fe96853d35303bca0
https://github.com/nodejs/node/pull/66298/files#diff-2aeb90ba4258a1154f8558dc18c7ad46778ac0bb479f564fe96853d35303bca0
lib/buffer.jshttps://github.com/nodejs/node/pull/66298/files#diff-3c2cd5c512dd026a7765b6b2ae3f85785d3b7ea3795e11949892b7b73beee630
View file https://github.com/jasnell/node/blob/799740cbd63e02b68fe4dd74fcabd0f6fc2e993c/lib/buffer.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/66298/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/66298/files#diff-3c2cd5c512dd026a7765b6b2ae3f85785d3b7ea3795e11949892b7b73beee630
https://github.com/nodejs/node/pull/66298/files#diff-3c2cd5c512dd026a7765b6b2ae3f85785d3b7ea3795e11949892b7b73beee630
https://github.com/nodejs/node/pull/66298/files#diff-3c2cd5c512dd026a7765b6b2ae3f85785d3b7ea3795e11949892b7b73beee630
https://github.com/nodejs/node/pull/66298/files#diff-3c2cd5c512dd026a7765b6b2ae3f85785d3b7ea3795e11949892b7b73beee630
https://github.com/nodejs/node/pull/66298/files#diff-3c2cd5c512dd026a7765b6b2ae3f85785d3b7ea3795e11949892b7b73beee630
https://github.com/nodejs/node/pull/66298/files#diff-3c2cd5c512dd026a7765b6b2ae3f85785d3b7ea3795e11949892b7b73beee630
src/node_buffer.cchttps://github.com/nodejs/node/pull/66298/files#diff-81f77f34c4f5b8cc35f1a506808b94e2a281f3341c0f1a38ef2b8a8ba730b22b
View file https://github.com/jasnell/node/blob/799740cbd63e02b68fe4dd74fcabd0f6fc2e993c/src/node_buffer.cc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/66298/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/66298/files#diff-81f77f34c4f5b8cc35f1a506808b94e2a281f3341c0f1a38ef2b8a8ba730b22b
https://github.com/nodejs/node/pull/66298/files#diff-81f77f34c4f5b8cc35f1a506808b94e2a281f3341c0f1a38ef2b8a8ba730b22b
https://github.com/nodejs/node/pull/66298/files#diff-81f77f34c4f5b8cc35f1a506808b94e2a281f3341c0f1a38ef2b8a8ba730b22b
https://github.com/nodejs/node/pull/66298/files#diff-81f77f34c4f5b8cc35f1a506808b94e2a281f3341c0f1a38ef2b8a8ba730b22b
https://github.com/nodejs/node/pull/66298/files#diff-81f77f34c4f5b8cc35f1a506808b94e2a281f3341c0f1a38ef2b8a8ba730b22b
https://github.com/nodejs/node/pull/66298/files#diff-81f77f34c4f5b8cc35f1a506808b94e2a281f3341c0f1a38ef2b8a8ba730b22b
test/parallel/test-buffer-islatin1.jshttps://github.com/nodejs/node/pull/66298/files#diff-71c0a1b498d6ff0fe4f0ba873ea23af359593c7d9021b57d2f7e04d01fbf76aa
View file https://github.com/jasnell/node/blob/799740cbd63e02b68fe4dd74fcabd0f6fc2e993c/test/parallel/test-buffer-islatin1.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/66298/{{ revealButtonHref }}
test/parallel/test-buffer-isutf8-isascii-fast.jshttps://github.com/nodejs/node/pull/66298/files#diff-665efebf0497ec7f2ee2d590f381f6518231c9d2698a65f2dad0594b12286279
View file https://github.com/jasnell/node/blob/799740cbd63e02b68fe4dd74fcabd0f6fc2e993c/test/parallel/test-buffer-isutf8-isascii-fast.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/66298/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/66298/files#diff-665efebf0497ec7f2ee2d590f381f6518231c9d2698a65f2dad0594b12286279
https://github.com/nodejs/node/pull/66298/files#diff-665efebf0497ec7f2ee2d590f381f6518231c9d2698a65f2dad0594b12286279
https://github.com/nodejs/node/pull/66298/files#diff-665efebf0497ec7f2ee2d590f381f6518231c9d2698a65f2dad0594b12286279
typings/internalBinding/buffer.d.tshttps://github.com/nodejs/node/pull/66298/files#diff-5e0886b5349a0b7bce3f3847e2ffe1c1e7c22a71d3c4601cbbf5645b2226d999
View file https://github.com/jasnell/node/blob/799740cbd63e02b68fe4dd74fcabd0f6fc2e993c/typings/internalBinding/buffer.d.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/66298/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/66298/files#diff-5e0886b5349a0b7bce3f3847e2ffe1c1e7c22a71d3c4601cbbf5645b2226d999
https://github.com/nodejs/node/pull/66298/files#diff-5e0886b5349a0b7bce3f3847e2ffe1c1e7c22a71d3c4601cbbf5645b2226d999
Please reload this pagehttps://github.com/nodejs/node/pull/66298/files
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.