Re: [PATCH] pack-objects: reuse data from existing pack.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Wednesday, February 15, 2006 - 8:59 pm

Nicolas Pitre <nico@cam.org> writes:


Not necessarily.  The delta-depth limitation is currently lifted
when reusing deltified objects (finding out the current depth is
not so expensive compared to uncompress-delta-recompress cycle,
but still costs somewhat, and the objective of this exercise is
to gain performance).

Notice the numbers 'written' and 'reused' in the output?
The difference in that example comes from the fact that I am
omitting some objects from the set of objects to be packed
(v1.0.0 is ancient) in a repository where some newer objects are
packed.  Since packing-delta goes backwards, what is in v1.0.0
but not in my tip tends to be delitified in the original pack,
but the resulting pack needs to have them expanded -- that is
where the difference comes from.

A cleaned-up patch will be in "pu" branch tonight.  I considered
putting it in "next", but decided against it.  I have not spent
enough time really beating on it, although I haven't seen major
breakage.


-
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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[FYI] pack idx format, Junio C Hamano, (Wed Feb 15, 1:39 am)
Re: [FYI] pack idx format, Johannes Schindelin, (Wed Feb 15, 4:16 am)
Re: [FYI] pack idx format, Nicolas Pitre, (Wed Feb 15, 9:46 am)
[PATCH] pack-objects: reuse data from existing pack., Junio C Hamano, (Wed Feb 15, 6:43 pm)
[PATCH] packed objects: minor cleanup, Junio C Hamano, (Wed Feb 15, 6:45 pm)
Re: [FYI] pack idx format, Junio C Hamano, (Wed Feb 15, 6:58 pm)
Re: [PATCH] pack-objects: reuse data from existing pack., Nicolas Pitre, (Wed Feb 15, 8:41 pm)
Re: [PATCH] pack-objects: reuse data from existing pack., Linus Torvalds, (Wed Feb 15, 8:55 pm)
Re: [PATCH] pack-objects: reuse data from existing pack., Junio C Hamano, (Wed Feb 15, 8:59 pm)
Re: [PATCH] pack-objects: reuse data from existing pack., Junio C Hamano, (Wed Feb 15, 9:07 pm)
Re: [PATCH] pack-objects: reuse data from existing pack., Andreas Ericsson, (Thu Feb 16, 1:32 am)
Re: [PATCH] pack-objects: reuse data from existing pack., Junio C Hamano, (Thu Feb 16, 2:13 am)
Re: [PATCH] pack-objects: reuse data from existing pack., Junio C Hamano, (Thu Feb 16, 9:30 pm)
Re: [PATCH] pack-objects: reuse data from existing pack., Linus Torvalds, (Fri Feb 17, 8:39 am)
Re: [PATCH] pack-objects: reuse data from existing pack., Junio C Hamano, (Fri Feb 17, 11:18 am)