Skip to content

perf: tune utf8 fast-path for smaller strings#162

Merged
rvagg merged 1 commit intomasterfrom
rvagg/utf8threshold
Jan 20, 2026
Merged

perf: tune utf8 fast-path for smaller strings#162
rvagg merged 1 commit intomasterfrom
rvagg/utf8threshold

Conversation

@rvagg
Copy link
Copy Markdown
Owner

@rvagg rvagg commented Jan 20, 2026

Very minor improvement with current V8 (Node.js 25) for TextDecoder meaning our fast-path is only faster for <=32 bytes.

@rvagg rvagg merged commit 3c895ff into master Jan 20, 2026
16 checks passed
@rvagg rvagg deleted the rvagg/utf8threshold branch January 20, 2026 05:57
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 4.5.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant