> It looks like ripgrep gets most of its speedup on ag by:
A non-trivial amount of time spent is simply reading the files off the disk. If speed is the all-encompassing metric, there's a big gain to be made by pre-processing the files into an index and loading that into memory instead, and that's what livegrep[1] does.
If you find yourself waiting for grep often enough, it's a pretty handy internal tool to configure across all repos.
A non-trivial amount of time spent is simply reading the files off the disk. If speed is the all-encompassing metric, there's a big gain to be made by pre-processing the files into an index and loading that into memory instead, and that's what livegrep[1] does.
If you find yourself waiting for grep often enough, it's a pretty handy internal tool to configure across all repos.
[1] https://livegrep.com/about