summaryrefslogtreecommitdiffstats
path: root/bash-completion
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-07-01 01:06:13 +0200
committerDave Reisner <dreisner@archlinux.org>2011-07-01 05:05:36 +0200
commit549af8c1b9a72cacf8cda41f8dd4b76983930945 (patch)
treeab8b08c58bbb22d38c3433e609ade6d14d9eb274 /bash-completion
parent726ff1f9466847cbe27e807cf79560070651781c (diff)
downloadmkinitcpio-549af8c1b9a72cacf8cda41f8dd4b76983930945.tar.gz
mkinitcpio-549af8c1b9a72cacf8cda41f8dd4b76983930945.tar.xz
functions: reduce calls to modinfo
Cut back to a single call to modinfo, instead of 3, which yields roughly a 30% decrease in execution time for a single run of add_module. This of course varies by module but it's an overall win. Suggested-by: Dan McGee <dan@archlinux.org> Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'bash-completion')
0 files changed, 0 insertions, 0 deletions