6 ms·
You might checkout the literal optimizations that ripgrep does. IIRC, the underlying regex lib is optimizing a few classes of "simple" regexes with SIMD to achi
by anowell 10y ago
You might checkout the literal optimizations that ripgrep does. IIRC, the underlying regex lib is optimizing a few classes of "simple" regexes with SIMD to achieve better perf than the first handwritten code in that article.
http://blog.burntsushi.net/ripgrep/#literal-optimizations http://blog.burntsushi.net/ripgrep/#literal-optimizations