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

[PATCH 0/2] Multiparent diff tree-walker + combine-diff speedup

From
Kirill Smelkov <kirr@mns.spb.ru>
Date
Feb 13, 2014, 14:02 UTC
Message-ID
<cover.1392299516.git.kirr@mns.spb.ru>

Here go combine-diff speedup patches in form of first reworking diff tree-walker to work in general case - when a commit have several parents, not only one - we are traversing all 1+nparent trees in parallel.

Then we are taking advantage of the new diff tree-walker for speeding up combine-diff, which for linux.git results in ~14 times speedup.

I understand v1.9.0 is going to be released first, but wanted to finally send the patches, so that people could start reviewing them.

Please apply on top of ks/tree-diff-more and thanks beforehand,
Kirill
Kirill Smelkov (2):
  tree-diff: rework diff_tree() to generate diffs for multiparent cases as well
  combine-diff: speed it up, by using multiparent diff tree-walker directly
 combine-diff.c |  85 +++++++++-
 diff.c         |   2 +
 diff.h         |  10 ++
 tree-diff.c    | 501 +++++++++++++++++++++++++++++++++++++++++++++++++--------
 4 files changed, 529 insertions(+), 69 deletions(-)
-- 
1.9.rc1.181.g641f458
Next: Kirill Smelkov
Message 1 of 10 in “Multiparent diff tree-walker + combine-diff speedup”
  1. 0/2 Multiparent diff tree-walker + combine-diff speedupKirill Smelkov, Feb 13, 2014
  2. 1/2 tree-diff: rework diff_tree() to generate diffs for multiparent cases as wellKirill Smelkov, Feb 13, 2014
  3. Junio C HamanoFeb 13, 2014
  4. Kirill SmelkovFeb 14, 2014
  5. Junio C HamanoFeb 14, 2014
  6. Kirill SmelkovFeb 16, 2014
  7. Junio C HamanoFeb 18, 2014
  8. 2/2 combine-diff: speed it up, by using multiparent diff tree-walker directlyKirill Smelkov, Feb 13, 2014
  9. Junio C HamanoFeb 13, 2014
  10. Kirill SmelkovFeb 14, 2014

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.