author | Martin Koegler <mkoegler@auto.tuwien.ac.at> | |
Mon, 28 May 2007 21:20:58 +0000 (23:20 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 29 May 2007 08:24:42 +0000 (01:24 -0700) | ||
commit | 074b2eea296886e179ef73e1c364f370a223618a | |
tree | 5ea794870257a6f5441f9837889a0c5927862f20 | tree | snapshot |
parent | a588d88aaff312f3afd5713ffcb4e4b1829fb5a6 | commit | diff |
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>
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>
Documentation/config.txt | diff | blob | history | |
builtin-pack-objects.c | diff | blob | history |