aboutsummaryrefslogtreecommitdiff
path: root/findutils/Kbuild.src
diff options
context:
space:
mode:
authorAri Sundholm <ari@tuxera.com>2019-01-28 19:41:12 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2019-01-29 14:53:22 +0100
commitd4b568c108b89fb726181b0fabb19f2d62bc1930 (patch)
treed3c2a54c68123890c055d334a1cb41623abc2f9f /findutils/Kbuild.src
parent9a9c6e39ba4c8f4f2cecb147c7e6464bec2d8b55 (diff)
downloadbusybox-d4b568c108b89fb726181b0fabb19f2d62bc1930.tar.gz
grep: short-circuit -v to bail out on first match
A small optimization. There is no need to try matching the current input line against any further patterns if a match was already found and -v is specified. function old new delta grep_file 1463 1440 -23 Signed-off-by: Ari Sundholm <ari@tuxera.com> Signed-off-by: Niko Vähäsarja <niko@tuxera.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'findutils/Kbuild.src')
0 files changed, 0 insertions, 0 deletions