Files
Lucas CHOLLET 385100be2f LibLocale: Improve performance in Segmenter::[prev,next]_boundary()
This is done by using the `[lower,upper]_bound()` functions, that have a
O(logn) complexity, instead of a manual loop with its O(n) complexity.

This increases performance a lot in the `forward` and `backward` cases
in `BenchmarkSegmenter`.

Before:
Completed benchmark 'forward' in 67ms
Completed benchmark 'backward' in 219ms

After:
Completed benchmark 'forward' in 2ms
Completed benchmark 'backward' in 2ms
2025-04-13 17:42:52 -04:00
..
2024-11-26 13:50:49 -05:00
2024-11-26 13:50:49 -05:00
2024-11-26 13:50:49 -05:00