Re:tolower() in bulk at speed
by conradludgate on Tuesday June 28, 2022 @02:59AM
(#31904940)
A few weeks ago I optimised[0] the Rust lower/upper case conversion methods to use more SIMD features. In the end, we took a very conservative level of unrolling since we deemed it unlikely that large inputs would need case conversions.
Re:tolower() in bulk at speed
by Aissen on Tuesday June 28, 2022 @03:44AM
(#31905210)
I see you used criterion here on your own repo, but it really shows that rust is missing the benchmark testing (I know there's one in unstable); having the tests you wrote alongside the code would prevent future hotpath regressions.
[0]: https://github.com/rust-lang/rust/pull/97046