busybox/findutils
Ari Sundholm d4b568c108 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>
2019-01-29 14:53:22 +01:00
..
Config.src
find.c find: handle leading -- argument 2019-01-06 19:58:18 +01:00
grep.c grep: short-circuit -v to bail out on first match 2019-01-29 14:53:22 +01:00
Kbuild.src
xargs.c config: update size information 2018-12-28 03:20:17 +01:00