by genewitch · 8mo ago · 0 comments
I have a lot of use for something that can search ~1GB of text "instantly", but so far nothing beats rg/ag after the data has been moved into RAM.
So while i'm sure ag/rg may be frustrating to use in certain circumstances, by default it works great for searching text files, even structured text files, on disk.
for example ripgrep doesn't do any memory mapping on macos which makes it 2-3x faster just becuase of that
so essentially in this specific case it is over 1000x faster, but the repo size is huge (66G, 500k files)