News for hackers. Stuff that matters.
Re:UTF-8 String Indexing Strategies by Someone on Thursday May 30, 2019 @07:50AM (#20050213)
”So, Emacs pretends it has constant time access into its UTF-8 text data, but it’s only faking it with some simple optimizations. This usually works out just fine.”

Usually, except when you’re writing in, and searching for Chinese, Greek, Hindi, Korean, Russian, Turkish, etc, text, like 50+% of the world’s population? It seems Emacs is made for programmers, who predominantly type and search for ascii text.

Re:UTF-8 String Indexing Strategies by appleflaxen on Thursday May 30, 2019 @09:03AM (#20050698)
according to the article, it is independent of the language, and depends only on the number of strings you are iterating across simultaneously.
Re:UTF-8 String Indexing Strategies by munchbunny on Thursday May 30, 2019 @11:51AM (#20052422)
That sounds about right. You don't pick up vim for a shopping list. You pick it up because you're a programmer.
Re:UTF-8 String Indexing Strategies by anoncake on Thursday May 30, 2019 @04:10PM (#20055414)
Some people use Emacs just for Org. That's a lot closer to a shopping list than to programming. And programmers sometimes write text in natural language.
Re:UTF-8 String Indexing Strategies by munchbunny on Thursday May 30, 2019 @10:01PM (#20057688)
I would guess that the parent comment's point is still true: Emacs (and Vim) are far more commonly used for programming and other work, probably ASCII heavy, than for natural language text editing.

I'd be willing to bet that for both Emacs and Vim, 90%+ characters by volume are ASCII. I wouldn't make a similar bet for Microsoft Word.

Re:UTF-8 String Indexing Strategies by johannes1234321 on Thursday May 30, 2019 @01:47PM (#20053952)
Which doesn't mean you can't keep your shopping list in it.

Or be using it to build a shopping list tool - including test data.