Much of the blog post about ripgrep performance boils down to "Rust regexes are fast like RE2". But JIT RE engines are state of the art now?
There is a lot more to it than that. Literal optimizations and SIMD play a large role. Benchmarks also included PCRE2's JIT.
-
-
I know - that was actually my point. The speed is not due to Rust's Regex engine, because that one can be beaten.
-
SIMD and literal optimizations are part of the regex library. The core DFA isn't necessarily beaten by a JIT either.
- 4 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.