From ea99421ec896fcc9a9cd5367d42a80f89316822f Mon Sep 17 00:00:00 2001 From: Henk-Jan Meijer Date: Wed, 21 Aug 2024 17:58:36 +0000 Subject: [PATCH] doc: fix transcription bug in ugrep benchmark command I re-ran the benchmark and the timing remains nearly unchanged, so that part was correct. PR #2876 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bdb1d6ce..a4290876 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ files for patterns without any opportunities for literal optimizations: | Tool | Command | Line count | Time | | ---- | ------- | ---------- | ---- | | ripgrep | `rg '[A-Za-z]{30}'` | 6749 | **15.569s** (1.00x) | -| [ugrep](https://github.com/Genivia/ugrep) | `ugrep -w '[A-Z]\w+ Sherlock [A-Z]\w+'` | 6749 | 21.857s (1.40x) | +| [ugrep](https://github.com/Genivia/ugrep) | `ugrep -E '[A-Za-z]{30}'` | 6749 | 21.857s (1.40x) | | [GNU grep](https://www.gnu.org/software/grep/) | `LC_ALL=C grep -E '[A-Za-z]{30}'` | 6749 | 32.409s (2.08x) | | [GNU grep (Unicode)](https://www.gnu.org/software/grep/) | `LC_ALL=en_US.UTF-8 grep -E '[A-Za-z]{30}'` | 6795 | 8m30s (32.74x) |