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
unicode-segmenter@0.2.0
Minor Changes
9938499: Getting 2x faster by optimizing hot path. Also with reduced bundle size
By casting Unicode chars to u32 in advance, all internal operations become 32-bit integer operations.
The previous version (v0.1.6) was
2.47x faster than Intl.Segmenter
2.68x faster than graphemer
4.95x faster than grapheme-splitter
Now it is
5.04x faster than Intl.Segmenter
5.52x faster than graphemer
9.83x faster than grapheme-splitter
Patch Changes
b6824b5: Mark sideEffects on the polyfill bundle
7c68863: Reduce bundle size a bit by inlining internal constants, and removing unused insternal state.
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
unicode-segmenter@0.2.0
Minor Changes
9938499: Getting 2x faster by optimizing hot path. Also with reduced bundle size
By casting Unicode chars to u32 in advance, all internal operations become 32-bit integer operations.
The previous version (v0.1.6) was
Now it is
Patch Changes
sideEffects
on the polyfill bundle