3 ms·
ripgrep does, and it's a big reason why it edges out GNU grep in a lot of common cases, especially for case insensitive searches. The most significant use of SI
by burntsushi 7y ago
ripgrep does, and it's a big reason why it edges out GNU grep in a lot of common cases, especially for case insensitive searches. The most significant use of SIMD is the Teddy algorithm, which I copied from the Hyperscan project. I wrote up how it works here: https://github.com/BurntSushi/aho-corasick/blob/66f581583b6921ad1e5731d0dd4f192436af0e36/src/packed/teddy/README.md https://github.com/BurntSushi/aho-corasick/blob/66f581583b69...
- z0mbie42 7y agoI wasn't aware! Added it. Thank you very much for all your work. Your CLI tools are really making a positive impact on the world of development.
- mastax 7y agoThe intended connotation of ripgrep wasn't "RIP Grep" but that it rips through searches, i.e. it is fast. I can't find the comment where he said this but burntsushi can confirm.
- burntsushi 7y agoRight, yes. It's a common enough mistake that it has its own FAQ entry now. :-) https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#intentcountsforsomething https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#int...
- burntsushi 7y agoThanks, I appreciate it. But could you take out the part that says it "aims to kill grep"? That definitely wasn't my intention. grep still has a place. See https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#intentcountsforsomething https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#int... and https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#can-ripgrep-replace-grep https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#can...