Thread (27 messages) flat view 27 messages, 6 authors, 2016-06-15

Re: [RFC] Cache negative delta pairs

From: Jeff King <hidden>
Date: 2016-06-15 22:42:31

Possibly related (same subject, not in this thread)

On Thu, Jun 29, 2006 at 02:48:23PM -0400, Nicolas Pitre wrote:
Dare to test it?  I provided you with most of the code difference 
already.
See my other mail. Unless I did something horribly wrong, caching full
windows is largely useless.
And what do you mean by "semantically correct"?
I mean that right now the cache means "calling create_delta on content
that has sha1_a against content that has sha1_b will not produce a
useful delta." That makes sense since the content is never going to
change for a given sha1. However, covering the whole window takes into
account depth and preferred base. We just need to be sure that it is
correct to be including those in our cache calculation (I don't know,
and I'll defer to your judgement on that, since you clearly know more
about the delta logic than I do).

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help