diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-07-01 01:06:13 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-07-01 05:05:36 +0200 |
commit | 549af8c1b9a72cacf8cda41f8dd4b76983930945 (patch) | |
tree | ab8b08c58bbb22d38c3433e609ade6d14d9eb274 /install | |
parent | 726ff1f9466847cbe27e807cf79560070651781c (diff) | |
download | mkinitcpio-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 'install')
0 files changed, 0 insertions, 0 deletions