logoalt Hacker News

jridgewellyesterday at 11:28 PM0 repliesview on HN

Yah, I was using char interchangeably with code point. I also used byte instead of code unit.

> truncate a string without splitting a codepoint in O(1) is still useful

Agreed!