A post-modern development environment.

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.


+124 -39
2 changed files