4 ms·
I can't live without ripgrep, it's so much faster than grep it's not even funny, especially if working with very large code bases with 100,000+ files
by EasyMark 2y ago
I can't live without ripgrep, it's so much faster than grep it's not even funny, especially if working with very large code bases with 100,000+ files
- SoftTalker 2y agoWhy is that? Does it build an index so later searches are fast?
- petepete 2y agoNo, I just think every last part of ripgrep has had the shit optimised out of it. Plus it's written in rust and as we know, it's blazingly fast.
- burntsushi 2y agoNo. I've written about why: https://blog.burntsushi.net/ripgrep/ https://blog.burntsushi.net/ripgrep/ That blog is eight years old now, but still pretty accurate. For more details at the level of the regex engine, see: https://github.com/BurntSushi/rebar https://github.com/BurntSushi/rebar