Path to this page:
Subject: CVS commit: pkgsrc/textproc/ugrep
From: Adam Ciarcinski
Date: 2023-08-22 22:35:21
Message id: 20230822203521.85DFCFBDB@cvs.NetBSD.org
Log Message:
ugrep: updated to 4.0.1
ugrep v4.0.1
this update resolves a legacy C++ compilation error with ptrdiff_t
speeds up option -l to search compressed files with -z
enables an important search optimization that was no longer enabled
publish new ugrep performance benchmarks ๐
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 โค๏ธ
Files: