In response to issue #60 (git_index_write really slow), the write_index function has been rewritten to improve its performance -- it should now be in par with the performance of git.git. On top of that, if Posix Threads are available when compiling libgit2, a new threaded writing system will be used (3 separate threads take care of solving byte-endianness, hashing the contents of the index and writing to disk, respectively). For very long Index files, this method is up to 3x times faster than git.git. Signed-off-by: Vicent Marti <tanoku@gmail.com>
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
resources | Loading commit data... | |
.gitignore | Loading commit data... | |
NAMING | Loading commit data... | |
t00-core.c | Loading commit data... | |
t01-data.h | Loading commit data... | |
t01-rawobj.c | Loading commit data... | |
t02-data.h | Loading commit data... | |
t02-objread.c | Loading commit data... | |
t02-oids.h | Loading commit data... | |
t03-objwrite.c | Loading commit data... | |
t04-commit.c | Loading commit data... | |
t05-revwalk.c | Loading commit data... | |
t06-index.c | Loading commit data... | |
t07-hashtable.c | Loading commit data... | |
t08-tag.c | Loading commit data... | |
t09-tree.c | Loading commit data... | |
t10-refs.c | Loading commit data... | |
t11-sqlite.c | Loading commit data... | |
t12-repo.c | Loading commit data... | |
test_helpers.c | Loading commit data... | |
test_helpers.h | Loading commit data... | |
test_lib.c | Loading commit data... | |
test_lib.h | Loading commit data... | |
test_main.c | Loading commit data... | |
tests.supp | Loading commit data... |