Re: [kernel.org users] Re: auto-packing on kernel.org? please?

From: Nick Hengeveld <nickh@reactrix.com>
Date: 2005-10-17 16:06:59
On Sun, Oct 16, 2005 at 03:12:03PM -0700, Junio C Hamano wrote:

>  - Among the set of packs that contain the object we are
>    currently interested in, try to find the "best" pack.  The
>    definition of "best" would be a balancing act of finding the
>    one that contains the least number of objects we already
>    have, and the one that contains the most number of objects we
>    do not have yet.

To get a complete list of objects we do not have yet, fetch will need
to walk all the trees first and then make another pass to process
all the missing objects.  Is it worth considering a case where the
missing objects are packed along with objects that don't need to be
transferred?  From the use cases you described, it's not clear that
situation would ever really happen.

If the blobs have been packed, it seems likely that the tree objects will
also be packed, so fetching them during the first pass will either involve
fetching a pack without being able to determine which is best or fetching
the appropriate ranges from packs to get the tree objects.

-- 
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Oct 17 16:07:48 2005

This archive was generated by hypermail 2.1.8 : 2005-10-17 16:07:58 EST