Heh, this is fun. By slowing down utf-8 validation in rustc we're seeing up to 44% performance decrease in short programs. This isn't exact science, but if the algorithm were to be *improved* it could have positive improvements for shorter programs. https://perf.rust-lang.org/compare.html?start=ae66171b41b1d05128afd0d666475bc4ba617469&end=c93d8c28b4e86aee203bca6ba8f4d7ecb2045c0d …
-
-
Hmm, that's quite surprising to me actually. Is the slowdown so severe or is this an indicator that we're validating it more than necessary?
-
In any case, I've been meaning to look at https://github.com/killercup/simd-utf8-check … as well as recent advances again at some point :)
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.