diff options
author | Dan McGee <dan@archlinux.org> | 2011-01-31 18:59:45 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2011-01-31 21:48:57 +0100 |
commit | 827f4bf67eafc5a15aaa69cdb465497f4e0f954f (patch) | |
tree | 76c9a24a8bf289762b0eaa4885cdcd6ef6e1d89e /hooks/btrfs | |
parent | 65cf7985377d9c63658a7a24bb853ec2d84c2e42 (diff) | |
download | mkinitcpio-827f4bf67eafc5a15aaa69cdb465497f4e0f954f.tar.gz mkinitcpio-827f4bf67eafc5a15aaa69cdb465497f4e0f954f.tar.xz |
Keep an array of added modules to prevent expensive lookups
This saves a find and grep call for every module that is added more than
once, which can lead to significant savings in image generation time.
Generating a fallback image went from 80 seconds to 60 seconds after
this patch.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'hooks/btrfs')
0 files changed, 0 insertions, 0 deletions