3 ms·
Any idea how this works compared to eg GNU sort --parallel? (or clever tricks with partial sort and merge)? I'm guessing rg can be faster in general - because
by e12e 5y ago
Any idea how this works compared to eg GNU sort --parallel? (or clever tricks with partial sort and merge)?
I'm guessing rg can be faster in general - because of less memory allocation/copying by sorting before outputting?
- burntsushi 5y agoI'm not familiar with GNU sort's --parallel flag. That --sort-files disables parallelism is not really a theoretical limitation. See: https://github.com/BurntSushi/ripgrep/issues/152 https://github.com/BurntSushi/ripgrep/issues/152