4 ms·
This code is mostly just testing the regex engine?
by ericmcer 7y ago
This code is mostly just testing the regex engine?
- partoa 7y agoSeems to be the case. All the same, given enough cases, I would expect that one can find something at which most major languages are faster by a generally faster language.
- fortran77 7y agoIs the Rust regex engine slow because it's written in Rust?
- steveklabnik 7y agoYes.
- mlindner 7y agoNot really, it's mainly because it hasn't been optimized over many many years yet. Also, everything in Rust is implemented in Rust. Unlike interpreted languages like PHP, it's self-hosted.