diff options
author | Joey Hess <joey@kitenet.net> | 2011-11-15 23:28:01 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-11-15 23:28:01 -0400 |
commit | 21a925dcf1ebe088b5c64da0ce159ffb6d535f04 (patch) | |
tree | df3851985ef279a81ceddd2f5e96fcacc30a7df9 /doc/todo/optimise_git-annex_merge.mdwn | |
parent | 922e9af5281b01709e5fa631ebe048c7da7c4d71 (diff) |
merge: Now runs in constant space.
Before, a merge was first calculated, by running various actions that
called git and built up a list of lines, which were at the end sent
to git update-index. This necessarily used space proportional to the size
of the diff between the trees being merged.
Now, lines are streamed into git update-index from each of the actions in
turn.
Runtime size of git-annex merge when merging 50000 location log files
drops from around 100 mb to a constant 4 mb.
Presumably it runs quite a lot faster, too.
Diffstat (limited to 'doc/todo/optimise_git-annex_merge.mdwn')
0 files changed, 0 insertions, 0 deletions