1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-06-30 22:23:44 +02:00
Commit Graph

216 Commits

Author SHA1 Message Date
79f62012d7 fix glob tests 2016-08-31 20:02:48 -04:00
03d9df4303 tests and refactoring search 2016-08-31 15:52:35 -04:00
d011cea053 The search code is a mess, but...
... we now support inverted matches and line numbers!
2016-08-29 22:44:15 -04:00
c809679cf2 Lots of improvements. Most notably, removal of memory maps for searching.
Memory maps appear to degrade quite a bit in the presence of multithreading.

Also, switch to lock free data structures for synchronization. Give each
worker an input and output buffer which require no synchronization.
2016-08-28 20:18:34 -04:00
1c8379f55a Implementing core functionality.
Initially experimenting with crossbeam to manage synchronization.
2016-08-28 01:37:12 -04:00
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
b55ecf34c7 globbing by regex 2016-08-25 21:44:37 -04:00
076eeff3ea update 2016-08-05 00:10:58 -04:00
0163b39faa refactor progress 2016-06-20 16:55:13 -04:00
8d9d602945 update 2016-04-03 21:22:09 -04:00
07bff7409b tweaks 2016-03-30 22:24:59 -04:00
f1a91307cd short matches 2016-03-30 20:44:26 -04:00
79a51029c1 progress 2016-03-29 21:21:34 -04:00
4ae67a8587 progress 2016-03-28 20:07:25 -04:00
403bb72a4d beating 'grep -E' on some things 2016-03-10 20:48:44 -05:00
9d1e619ff3 initial commit 2016-02-27 11:07:26 -05:00