summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-03-08 14:57:03 +0200
committerVicent Marti <tanoku@gmail.com>2011-03-14 23:52:15 +0200
commit71db842fac3ba8582255bc5b61361ddef08ef105 (patch)
treef4c4efa3860da60ef0f3e86c5ab6c1b4dad2d1fc /include/git2/commit.h
parent26022f0719f652ae8311abea6f6de92bd4a75a87 (diff)
downloadlibgit2-71db842fac3ba8582255bc5b61361ddef08ef105.tar.gz
Rewrite the Revision Walker
The new revision walker uses an internal Commit object storage system, custom memory allocator and much improved topological and time sorting algorithms. It's about 20x times faster than the previous implementation when browsing big repositories. The following external API calls have changed: `git_revwalk_next` returns an OID instead of a full commit object. The initial call to `git_revwalk_next` is no longer blocking when iterating through a repo with a time-sorting mode. Iterating with Topological or inverted modes still makes the initial call blocking to preprocess the commit list, but this block should be mostly unnoticeable on most repositories (topological preprocessing times at 0.3s on the git.git repo). `git_revwalk_push` and `git_revwalk_hide` now take an OID instead of a full commit object.
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions