aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-11-14 14:54:24 +0100
committerAlejandro Colomar <alx.manpages@gmail.com>2021-11-14 14:54:26 +0100
commit2823cdab8888171e4fc8523f5d08f080487009cc (patch)
tree602d011a758026ba0ffa7d9f6abbe6e1630f441a /man2
parent6ff6f43d68164f99a8c3fb66f4525d145571310c (diff)
downloadman-pages-2823cdab8888171e4fc8523f5d08f080487009cc.tar.gz
bash_aliases: grep_*(): Optimize
Using grep first to reduce the files on which pcregrep is run optimizes considerably the performance of these functions. If a file doesn't contain the name of a function, which can easily be checked with grep, it won't possibly contain the function prototype or definition, which is much slower to search, since it implies multiline pcregrep search. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'man2')
0 files changed, 0 insertions, 0 deletions