Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wtetzner
on Oct 12, 2022
|
parent
|
context
|
favorite
| on:
Introduction to Dlang [video]
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: