Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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!



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: