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:
RevisionActionfile
1.61modifypkgsrc/textproc/ugrep/Makefile
1.56modifypkgsrc/textproc/ugrep/distinfo