Skip to content

add grapheme-counter entry for fast counting#135

Merged
cometkim merged 2 commits into
mainfrom
fast-counter
Jul 9, 2026
Merged

add grapheme-counter entry for fast counting#135
cometkim merged 2 commits into
mainfrom
fast-counter

Conversation

@cometkim

@cometkim cometkim commented Jul 9, 2026

Copy link
Copy Markdown
Owner

extracted the shared category tables and pair-rule machine into an internal grapheme-core module, and adds unicode-segmenter/grapheme-counter

extracted the shared category tables and pair-rule machine into an
internal grapheme-core module, and adds `unicode-segmenter/grapheme-counter`
@changeset-bot

changeset-bot Bot commented Jul 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3c51001

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
unicode-segmenter Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codspeed-hq

codspeed-hq Bot commented Jul 9, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 6 untouched benchmarks
🆕 6 new benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
🆕 grapheme-counter - Code snippet (combined) N/A 42 µs N/A
🆕 grapheme-counter - Demonic characters N/A 32.2 µs N/A
🆕 grapheme-counter - Emojis N/A 18.4 µs N/A
🆕 grapheme-counter - Hindi N/A 25 µs N/A
🆕 grapheme-counter - Lorem ipsum (ascii) N/A 21.8 µs N/A
🆕 grapheme-counter - Tweet text (combined) N/A 27.4 µs N/A

Comparing fast-counter (3c51001) with main (47953b4)

Open in CodSpeed

@pkg-pr-new

pkg-pr-new Bot commented Jul 9, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/unicode-segmenter@135

commit: 3c51001

@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (47953b4) to head (3c51001).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #135   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9        11    +2     
  Lines          933      1005   +72     
=========================================
+ Hits           933      1005   +72     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@cometkim cometkim merged commit a6b246a into main Jul 9, 2026
6 checks passed
@cometkim cometkim deleted the fast-counter branch July 9, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant