Re: [RFC PATCH] packfile: iterate packed objects in pack order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 09, 2018 at 03:03:24PM -0700, Jonathan Tan wrote:

> On Wed, Aug 8, 2018 at 4:25 PM, Jeff King <peff@xxxxxxxx> wrote:
> > Even if you just use the oid to do a separate lookup in the object
> > database, there's still a benefit in accessing the objects in pack
> > order.
> 
> You're probably right, but I don't immediately see what the benefit is.
> 
> On a not completely unrelated note, I just realized that in my patch,
> i should be pack_nr (ordinal in pack order) and pack_nr should be
> index_nr (ordinal in index order, i.e. alphabetical order). If you run
> with this, feel free to write your own patch and maybe I'll learn how
> accessing objects in pack order benefits looking up the object
> database through the commit message.

It probably would have been more apparent if when I said "like in the
patch below" I actually remembered to paste in the patch. ;)

> > I can try to pick this up and carry the cat-file bits to completion if
> > you want, but probably not until tomorrow or Friday.
> 
> Thanks - feel free to do this.

I've got a series which I'll post momentarily which hopefully explains
what's going on, along with various timings.

-Peff



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux