From: Dmitry Ivankov Date: Sat, 20 Aug 2011 19:04:10 GMT Subject: [PATCH 0/2] fast-import: improve deltas for blobs Message-ID: <1313867052-11993-1-git-send-email-divanorama@gmail.com> Currently delta base for blob objects is just a previous blob object written. This way we just keep the last one in memory and it's cheap (not too smart though and gains no pack size reduction most of the time). If we also keep as last blob a response to cat-blob (whose main purpose is to provide delta bases for a importer), svn-fe imports become faster and packs produced become smaller. 1/2 adds a diff_delta attemps count as a related and interesting number 2/2 gives a nice performance improvement for svn-fe produced imports Dmitry Ivankov (2): fast-import: count and report # of calls to diff_delta in stats fast-import: treat cat-blob as a delta base hint for next blob fast-import.c | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) -- 1.7.3.4