diff options
author | Nicolas Pitre <nico@fluxnic.net> | 2010-04-12 16:50:35 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-04-12 15:30:58 -0700 |
commit | 7734d7f2f6e57973bce3d7b2af815ac737f4637c (patch) | |
tree | b5a76d4b17cb50903f46ccf1a592f124a3245048 /t/t5407-post-rewrite-hook.sh | |
parent | index-pack: rationalize unpack_entry_data() (diff) | |
download | tgif-7734d7f2f6e57973bce3d7b2af815ac737f4637c.tar.xz |
index-pack: smarter memory usage when appending objects
In the same spirit as commit 9892bebafe, let's avoid allocating the full
buffer for the deflated data in write_compressed() in order to write it.
Let's deflate and write 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/t5407-post-rewrite-hook.sh')
0 files changed, 0 insertions, 0 deletions