Re: [RFC] pack-objects: compression level for non-blobs
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jan 1, 2013, 12:10 UTC
- Message-ID
- <CACsJy8DpnO6X6jdQVsr1NwrXF2MDBBcHZQTay=TyLFc5p_z9eg@mail.gmail.com>
- In-Reply-To
- <CACsJy8CygfaM+Ee6rURFB-cP2khO8URGDJMG2f3mqg0ebYz+8Q@mail.gmail.com>
On Tue, Jan 1, 2013 at 11:15 AM, Duy Nguyen <pclouds@gmail.com> wrote:
Show 7 quoted lines
>> Fix pack-objects to behave the way JGit does, cluster commits first in >> the pack stream. Now you have a dense space of commits. If I remember >> right this has a tiny positive improvement for most rev-list >> operations with very little downside. > > I was going to suggest a similar thing. The current state of C Git's > pack writing is not bad. We mix commits and tags together, but tags
And I was wrong. At least since 1b4bb16 (pack-objects: optimize "recency order" - 2011-06-30) commits are spread out and can be mixed with trees too. Grouping them back defeats what Junio did in that commit, I think.
-- Duy