Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by aerzen

1 year ago

Cool.

I assumed it uses ripgrep (or the underlying walkdir) because that's the established high-performance tool for this. But apparently not.

3 comments

aerzen

Reply

tomschafer  1 year ago

It uses https://docs.rs/ignore/latest/ignore/ to walk dirs while respecting ignore files

  • seritools  1 year ago

    (And `ignore` uses `walkdir` internally)

    • burntsushi  1 year ago

      For single threaded use cases. For multi-threaded, it has its own parallel directory traversal. :-)

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities