3 ms·
Wow. Those are awesome results, thank you. > Sounds like "alias rg=rg --no-mmap" is a good idea on a Mac. I will fix that in ripgrep proper by making --no-mma
by burntsushi 10y ago
Wow. Those are awesome results, thank you.
> Sounds like "alias rg=rg --no-mmap" is a good idea on a Mac.
I will fix that in ripgrep proper by making --no-mmap the default on Mac. :-) It should be an easy one to knock off: https://github.com/BurntSushi/ripgrep/issues/36 https://github.com/BurntSushi/ripgrep/issues/36
> not my first rodeo
Right, sorry about that. :-) Just had to cover all my bases!
(Also, `-j` on a single file won't do anything, and ripgrep should try to use multiple threads by default when searching multiple files.)
- lobster_johnson 10y agoI suspected that -j wouldn't do anything on a single file. For three large (6.5GB in total) files I'm getting good performance, about 1.6x of what GNU Grep does, best case.