Hacker News new | past | comments | ask | show | jobs | submit login

I think the point is that you run the unicode validation once on your [u8] array, which gives you a &str (or String for the lossy variants). From then on, you know you have valid unicode and don't need to keep checking.



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

Search: