Hacker News new | ask | show | jobs
by jridgewell 274 days ago
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!