Re: What's in git.git
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:19
Andreas Ericsson [off-list ref] writes:
Junio C Hamano wrote:quoted
There now is further performance improvements for git-send-pack to avoid sending a huge blob or tree object in its full representation when we know the other end has a suitable object to use as the base; instead we can just send it out deltified. The other end would expand it to a loose object and this would not make abit of difference in the resulting repository -- only the bandwidth requirement reduction is visible [*1*].How likely is this to increase the CPU-power needed on the server-side? If there is a blob on the server-side, but far from the deltified object I suppose we have to look at each commit, perhaps only to discover that the client doesn't have them and we need to construct the blob anyways.
Not much. It deliberately keeps the set of blobs and trees to consider for remote base to minimum -- just the trees contained in the boundary commits. That way we may miss the best base candidate that are further back in history, but it does not matter because even using the less optimum one as a base saves us from sending the base object at all.