The release of version 2.0.0 took place on February 11 krep — a high-performance, multithreaded, SIMD-optimized console utility for string searching.
Main features:
- Depending on the type of patterns, algorithms are used for optimal performance Boyer-Moore-Horspool, Knuth-Morris-Pratt or Aho-Corasick.
- Using a memory-mapped file for processing large files.
- Automatic distribution of searches across available CPU cores.
- SIMD optimization with support for SSE4.2, AVX2, and NEON.
The utility is written in C and is distributed under the BSD-2 license.
Changes:
- Significantly improved performance of multithreaded path processing in the search_file function;
- added script test/benchmark_krep_vs_rg.sh to compare krep and ripgrep;
- fixed an error in recursively skipping minimized resources (like .min.*);
- improved testing.
Source: linux.org.ru
