diff options
author | Junio C Hamano <junkio@cox.net> | 2007-03-09 03:52:12 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-11 00:04:05 -0800 |
commit | b867092fec81c59a35337d24d2d976ab2acc2488 (patch) | |
tree | 725b45968dca3c4c40eea4e8674cf4eeb5808ce8 /README | |
parent | Merge branch 'js/attach' (diff) | |
download | tgif-b867092fec81c59a35337d24d2d976ab2acc2488.tar.xz |
prepare_packed_git(): sort packs by age and localness.
When accessing objects, we first look for them in packs that
are linked together in the reverse order of discovery.
Since younger packs tend to contain more recent objects, which
are more likely to be accessed often, and local packs tend to
contain objects more relevant to our specific projects, sort the
list of packs before starting to access them. In addition,
favoring local packs over the ones borrowed from alternates can
be a win when alternates are mounted on network file systems.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions