diff options
author | Nicolas Pitre <nico@fluxnic.net> | 2010-04-12 12:11:07 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-04-12 09:51:38 -0700 |
commit | 776ea3707a0248b9d36d696ee92beeeac5ccf1a1 (patch) | |
tree | f46b55082c463f3200548cb67852e31ec42391a5 /t/t9136 | |
parent | sha1_file: be paranoid when creating loose objects (diff) | |
download | tgif-776ea3707a0248b9d36d696ee92beeeac5ccf1a1.tar.xz |
index-pack: smarter memory usage when resolving deltas
In the same spirit as commit 9892bebafe, let's avoid allocating the full
buffer for the deflated data in get_data_from_pack() in order to inflate
it. Let's read and inflate the data in chunks instead to reduce memory
usage.
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9136')
0 files changed, 0 insertions, 0 deletions