krep is an optimized string search utility designed for maximum throughput,
low-latency feedback, and modern command-line ergonomics when processing large
files and source trees. It combines mmap-based I/O, adaptive algorithms, SIMD
acceleration where available, multi-pattern search, recursive traversal
controls, JSON Lines output, contextual display, and machine-friendly stats.
Note: Krep is not intended to be a full replacement or direct competitor to
feature-rich tools like grep or ripgrep. Instead, it aims to be a minimal,
efficient, and pragmatic tool focused on speed and simplicity.
Krep provides the essential features needed for fast searching, without the
extensive options and complexity of more comprehensive search utilities. Its
design philosophy is to deliver the fastest possible search for the most common
use cases, with a clean and minimal interface.
textproc/krep: fix build on armv7
Add polyfill for the vmaxvq_u8() intrinsic only available on AArch64.
This should probably be upstreamed.
Approved by: portmgr (build fix blanket)
textproc/krep: Disable all SIMD hacks/detections in favor of CPUTYPE
All SIMD "hacks/detection" should be disabled as we have CPUTYPE and
the current approach is also broken as host might not share the same
CPU features as target.
Reported by: diizzy@ (via e-mail)
Approved by: db@, yuri@ (Mentors, implicit)
textproc/krep: [NEW PORT] High-performance string search utility
krep is an optimized string search utility designed for maximum throughput and
efficiency when processing large files and directories. It is built with
performance in mind, offering multiple search algorithms and SIMD acceleration
when available.
Note: Krep is not intended to be a full replacement or direct competitor to
feature-rich tools like grep or ripgrep. Instead, it aims to be a minimal,
efficient, and pragmatic tool focused on speed and simplicity.
Krep provides the essential features needed for fast searching, without the
extensive options and complexity of more comprehensive search utilities. Its
design philosophy is to deliver the fastest possible search for the most common
use cases, with a clean and minimal interface.
WWW: https://github.com/davidesantangelo/krep/
Approved by: db@, yuri@ (Mentors, implicit)
Differential Revision: https://reviews.freebsd.org/D55357