News for hackers. Stuff that matters.
Re:UTF-8 is a brilliant design by ori_b on Friday September 12, 2025 @08:37PM (#45228272)
You don't particularly want indexing for that, but cursors. A byte offset (wrapped in an opaque type) is sufficient for that need.
Re:UTF-8 is a brilliant design by bjoli on Saturday September 13, 2025 @05:50AM (#45230786)
You could add a LUT for decently fast indexing as well. I believe Java does that.