summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-12-31 16:17:03 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2016-12-31 16:18:42 -0800
commit296f3b994d59006a64fcd1a2398a6b3e13e84e3c (patch)
tree5ca828c7fb3bac13fa89ff810002c2eb1d653286 /m4
parentbf2b73acf81dd21e7e587dfd00c3362ff412aa46 (diff)
downloadgrep-296f3b994d59006a64fcd1a2398a6b3e13e84e3c.tar.gz
grep: speed up -x with many patterns
* src/kwsearch.c (Fcompile): Improve buffer allocation overhead with -x and multiple patterns. In the common case where '\n' is the end-of-line byte, avoid copying other than the first and last patterns.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions