diff options
author | Martin Koegler <mkoegler@auto.tuwien.ac.at> | 2007-05-28 23:20:58 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-05-29 01:24:42 -0700 |
commit | 074b2eea296886e179ef73e1c364f370a223618a (patch) | |
tree | 5ea794870257a6f5441f9837889a0c5927862f20 /t | |
parent | builtin-pack-objects: don't fail, if delta is not possible (diff) | |
download | tgif-074b2eea296886e179ef73e1c364f370a223618a.tar.xz |
git-pack-objects: cache small deltas between big objects
Creating deltas between big blobs is a CPU and memory intensive task.
In the writing phase, all (not reused) deltas are redone.
This patch adds support for caching deltas from the deltifing phase, so
that that the writing phase is faster.
The caching is limited to small deltas to avoid increasing memory usage very much.
The implemented limit is (memory needed to create the delta)/1024.
Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions