Skip to content

Choose a tag to compare

@github-actions github-actions released this 06 Mar 19:56
· 71 commits to main since this release
209baf5

Minor Changes

  • 21cd789: Removed deprecated APIs

    • searchGrapheme in unicode-segmenter/grapheme
    • takeChar and takeCodePoint in unicode-segmenter/utils

    Which are used internally before, but never from outside.

  • 483d258: Reduced bundle size, while keeping the best perf

    Some details:

    • Refactored to use the same code path internally as possible.
    • Removed pre-computed jump table, the optimization were compensated for by other perf improvements.
    • Previous array layout to avoid accidental de-opt turned out to be overkill. The regular tuple array is well optimized, so I fall back to using good old plain binary search.
    • Some experiments like new encoding and eytzinger layout for more aggressive improvements, but no success.