aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorMartin Koegler <mkoegler@auto.tuwien.ac.at>2007-05-28 23:20:58 +0200
committerJunio C Hamano <junkio@cox.net>2007-05-29 01:24:42 -0700
commit074b2eea296886e179ef73e1c364f370a223618a (patch)
tree5ea794870257a6f5441f9837889a0c5927862f20 /cache.h
parenta588d88aaff312f3afd5713ffcb4e4b1829fb5a6 (diff)
downloadgit-074b2eea296886e179ef73e1c364f370a223618a.tar.gz
git-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 'cache.h')
0 files changed, 0 insertions, 0 deletions