3 ms·
The author discusses this in the corresponding /r/rust thread: https://www.reddit.com/r/rust/comments/mvc6o5/incredibly_fast_utf8_validation/gvb8o3j/ https://w
by mrec 5y ago
The author discusses this in the corresponding /r/rust thread:
https://www.reddit.com/r/rust/comments/mvc6o5/incredibly_fast_utf8_validation/gvb8o3j/ 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.