Very impressed with https://github.com/BurntSushi/ripgrep … $ time grep -v -x -i -f stoplist words > words-stop real 100m39.604s user 97m24.045s sys 0m13.054s $ time rg -v -x -i -f stoplist words > words-stop-rg real 4m9.471s user 1m5.310s sys 2m57.231s
-
-
stoplist yes, but words no. I could give you summary stats, if it would help. What's your interest?
-
One possible explanation is that the first run with GNU grep was reading `words` from disk (it is presumably a large file), but the second run with rg was mostly reading `words` from the I/O cache. You could test this by running GNU grep a few times.
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.