git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/2] fast-import: improve deltas for blobs

From
Dmitry Ivankov <divanorama@gmail.com>
Date
Aug 20, 2011, 19:04 UTC
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
Next: Dmitry Ivankov
Message 1 of 5 in “fast-import: improve deltas for blobs”
  1. 0/2 fast-import: improve deltas for blobsDmitry Ivankov, Aug 20, 2011
  2. 1/2 fast-import: count and report # of calls to diff_delta in statsDmitry Ivankov, Aug 20, 2011
  3. 2/2 fast-import: treat cat-blob as a delta base hint for next blobDmitry Ivankov, Aug 20, 2011
  4. Jonathan NiederAug 20, 2011
  5. David Michael BarrAug 21, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.