Version Packages#136
Merged
Merged
Conversation
commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #136 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 9 9
Lines 1033 1033
=========================================
Hits 1033 1033 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Merging this PR will not alter performance
Comparing Footnotes
|
This comment was marked as outdated.
This comment was marked as outdated.
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
July 22, 2026 08:53
e0217a4 to
1fe6bbe
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
July 22, 2026 10:02
1fe6bbe to
c85f5e8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
[email protected]
Patch Changes
e94d203: Add
collectGraphemes(input)API that collects grapheme clusters into an array directly.This is a fast version of
[...splitGraphemes(input)], which is acually the most used pattern in practice.It's 2-4x faster than the iterator-based approach. However, it collects all grapheme clusters at once, so it's not good for large text or streamed input.
5fcaa4f: Promote
countGraphemes()API to be a fast path.It avoids generator overhead and only counts boundaries without allocating segments.
When only counting, it achieves ~10x faster runtime performance and no GC pressure.