top | item 46507743

Qgrep Internals

4 points| equinumerous | 1 month ago |zeux.io

1 comment

order

theamk|1 month ago

qgrep apparently beats ripgrep, and by a huge margin (20x)

How is this possible? qgrep does not search from scratch, it creates "index" and searches it instead of on-disk files. The index is maintained manually, and the time to create index is not reflected in the benchmarks above. It's still pretty cool though.

(Also, it does not handle unicode and only handles ASCII. Also, author uses Windows and so they chose "*" as default "search all projects" command :) )