<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention">@<span>whitequark</span></a></span> (an abstraction for solving this problem on general strings would not be useful for me because if I eventually solve it, I will do it on the *specific* strings held by this text entry library, and that text entry library both (1) can make stronger guarantees than are possible on general strings, since it alone has permission to mutate the strings (2) probably is using a wrong abstraction for strings already because their current system will become unperformant on long single lines)</p>