bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51231: increase performance and usability of binary search with -P


From: Carlo Arenas
Subject: bug#51231: increase performance and usability of binary search with -P
Date: Fri, 15 Oct 2021 17:33:59 -0700

The following patch increase performance of grep when looking at
binary data, without any side effects:

Summary
  'cd grep; ./src/grep -Pc foo
/Users/carlo/Downloads/FreeBSD-13.0-BETA2-amd64.vhd' ran
    1.77 ± 0.02 times faster than 'cd grep.base; ./src/grep -Pc foo
/Users/carlo/Downloads/FreeBSD-13.0-BETA2-amd64.vhd'

Carlo

Attachment: 0001-pcre-only-match-UTF-8-if-needle-is-UTF-8-and-case-fo.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]