Re:Show HN: High-speed UTF-8 validation in Rust
by kouteiheika on Wednesday April 21, 2021 @07:16AM
(#26888022)
So are there any plans to eventually contribute this to the standard library, e.g. just like hashbrown was?
[ Parent
| on HN ]
Re:Show HN: High-speed UTF-8 validation in Rust
by mrec on Wednesday April 21, 2021 @07:33AM
(#26888193)
The author discusses this in the corresponding /r/rust thread:
https://www.reddit.com/r/rust/comments/mvc6o5/incredibly_fas...
tl;dr: it's not straightforward, mostly because the standard functionality lives in `core` which doesn't have access to OS support for CPU feature detection.