Something went wrong. Try again.
A post-modern development environment.
Something went wrong. Try again.
word index: Optimize word extraction master
The prior version used the core movement functions. Those operate on chars, though, so we can get odd splits where a word cuts within a grapheme cluster. Instead we want to iterate forward by grapheme clusters. This also lets us reuses the grapheme cursor, which is much more efficient than the one-shot grapheme-aligning functions that the core movement functions use.
Author Michael Davis Committer Blaž Hrastnik Date (Jun 14, 2026, 6:59 AM UTC) Commit 28de2c2d 28de2c2dec3a0eeea96cf1d0cf6dcf2160ee2d6e Parent d15ae846 d15ae8463dfa22ab3a6f2b530c6a7df2cc3b6410