1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-02-09 14:14:56 +02:00
Andrew Gallant 065c449980 File path filtering works and is pretty fast.
I'm pretty disappointed by the performance of regex sets. They are
apparently spending a lot of their time in construction of the DFA,
which probably means that the DFA is just too big.

It turns out that it's actually faster to build an *additional* normal
regex with the alternation of every glob and use it as a first-pass
filter over every file path. If there's a match, only then do we try the
more expensive RegexSet.
2016-08-27 01:01:06 -04:00
2016-08-25 21:44:37 -04:00
2016-08-24 18:33:35 -04:00
2016-02-27 11:07:26 -05:00
2016-02-27 11:07:26 -05:00
2016-02-27 11:07:26 -05:00
2016-02-27 11:07:26 -05:00
2016-02-27 11:07:26 -05:00
2016-02-27 11:07:26 -05:00
2016-03-10 21:03:13 -05:00
2016-03-10 21:02:08 -05:00
2016-02-27 11:07:26 -05:00
2016-02-27 11:07:26 -05:00

rep

grep, written in Rust using the regex crate.

Description
ripgrep recursively searches directories for a regex pattern while respecting your gitignore
Readme 12 MiB
Languages
Rust 94.4%
Python 2.7%
Shell 2.1%
Roff 0.8%