Earlier quoted context omitted.
Thanks for the response! Some notes: 1. In my benchmarks, I do control for line numbers by either explicitly making it a variable (i.e., when you see `(lines)`) or by making all tools count lines to make the comparison fair. For the most part, this only tends to matter in the single-file benchmarks. 2. For memory maps, you might get very different results depending on your environment. For example, I enabled memory m…
I notice that subsequent runs in the same (non changing) directory get different results. These runs are all within 20 seconds, what gives? $ rg each | md5sum 670b544e15f9430d9934334a11a87b7e - $ rg each | md5sum 4d13be6b4531ad52b1b476314fe98fb7 - rg each | md5sum 88e15dbb943665ea54482cb499741938 - rg each | md5sum eec6d6d5c9a592cec25aa8b0c19aae15 - rg each | md5sum ad74b78ef8f0d21450f8f87415555af0 - And: $ date Sat…
In the second case, rg each > foo2 found results in foo1 and put them in foo2. Then rg each > foo3 found results in foo1 and foo2, and put them in foo3. Etc. That's why the file size increases so quickly.