Ugrep 4.0 offers faster searching with improved internals:
- faster async output, speeds up ugrep 3x when outputting many matching lines 🚀
- removed "rest line" buffering, speeds up ugrep up to 2x, depending on the output-related options used 🚀
- removed redundant "binary file" checking, speeds up ugrep 10%~20% 🚀
- double size input buffer, speeds up searching 5%~20% when searching very large files (GB) with none/infrequent pattern matches 🚀
- faster empty pattern matching, i.e. pattern
''
matches all lines faster, as much as 10x faster 🚀 - removed redundant color escape codes from the output 🖥
- option
-Q
with an optional argument is now-Q=DELAY
instead of-QDELAY
, so-Q2
is-Q -2
(simple options should be composable/separable) which searches 2 directory levels deep with the query TUI 🖥 - fully tested
--index
(still beta version) to search indexed file systems, see also WIP project ugrep-indexer 🚀
Thumbs up to all ugrep users and contributors to make this possible 👍
A comprehensive performance benchmarking comparison will be published. I hope this convinces you all how fast ugrep is compared to other grep tools. At least until/unless other grep start using (rip-off, ahem...) my work ❤️