What's Changed
Performance
Both split()
and findBoundaries()
are quite faster than version 15.1.0. Here are the results on my laptop:
> unicode-default-word-boundary@15.1.2 benchmarks
> node benches
#split() [15.1.2] x 9.17 ops/sec ±1.62% (28 runs sampled)
#split() [15.1.0] x 1.78 ops/sec ±0.57% (9 runs sampled)
Fastest: #split() [15.1.2] (5.15x speed-up)
#findBoundaries() [15.1.2] x 11.40 ops/sec ±1.43% (33 runs sampled)
#findBoundaries() [15.1.0] x 3.53 ops/sec ±0.39% (13 runs sampled)
Fastest: #findBoundaries() [15.1.2] (3.23x speed-up)
Full Changelog: v15.1.0...v15.1.2