What makes ripgrep so fast ?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • ripgrep

    ripgrep recursively searches directories for a regex pattern while respecting your gitignore

  • That fallback is the line buffer: https://github.com/BurntSushi/ripgrep/blob/0b36942f680bfa9ae88a564f2636aa8286470073/crates/searcher/src/line_buffer.rs

  • gitstatus

    Git status for Bash and Zsh prompt

  • perf of POSIX/Linux nftw, Rust walkdir and find are comparable, which is what burntsushi also writes as finding. One option for Rust would be what zig libstd does: offer higher perf for less convenience/checks with optimizations (no sorting) https://github.com/romkatv/gitstatus/blob/master/docs/listdir.md

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts