diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2020-09-07 19:44:21 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-09-07 19:49:33 -0700 |
commit | 9393b977015bf7944cec1d71ad3972c101bdb4b8 (patch) | |
tree | 75ec43b843346d5972f5eaace2d72ea8e37e11f3 /bootstrap.conf | |
parent | 0ede35a6cd21093560de8bd9843263ba199abf1f (diff) | |
download | grep-9393b977015bf7944cec1d71ad3972c101bdb4b8.tar.gz |
Prefer rawmemchr to memchr when it’s easy
* bootstrap.conf (gnulib_modules): Add rawmemchr.
* src/dfasearch.c (GEAcompile, EGexecute):
* src/grep.c (update_patterns, prpending, prtext):
* src/kwsearch.c (Fcompile, Fexecute):
* src/pcresearch.c (Pcompile, Pexecute):
Simplify (and presumably speed up a little) by using rawmemchr
with a sentinel, instead of using memchr.
Diffstat (limited to 'bootstrap.conf')
-rw-r--r-- | bootstrap.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap.conf b/bootstrap.conf index fceb3188..42686234 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -73,6 +73,7 @@ openat-safer perl propername quote +rawmemchr readme-release realloc-gnu regex |