2 ms·
But ripgrep's default mode of operation is to search a directory. That is, `so_stupid_search foo ./dir` and `rg foo ./dir` do the exact same thing. Even better,
by burntsushi 7y ago
But ripgrep's default mode of operation is to search a directory. That is, `so_stupid_search foo ./dir` and `rg foo ./dir` do the exact same thing. Even better, `rg foo` searches the current directory without needing to add a `./` argument.
> and do the fastest
Making tools like this fast is not easy. Your tool is approximately two orders of magnitude slower than ripgrep when searching the Linux kernel, for example.
- deleted 7y ago[deleted]
- lispre 7y agoThanks for your comments, I will stick to optimizing my ugly code for the people who love small and tiny things