diff options
author | Joey Hess <joey@kitenet.net> | 2014-03-10 15:12:54 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-03-10 15:14:09 -0400 |
commit | b7ac0db88f367ceb1df863c35c44d4a6e0f51a1e (patch) | |
tree | 14fb3dbd1201a879cfd2eb79e2c2d3dde30fc27b /Backend/URL.hs | |
parent | b590db53ef36f9446d32cf29423b658697cdf6b7 (diff) |
Improve memory usage when git fsck finds a great many broken objects.
From 1.7 gb to 900 mb on 300 thousand unique reported shas.
When shas are not unique, this streams much better than before, so won't
buffer the full list before putting them into the Set and throwing away
dups. And when fsck output includes ignorable lines, especially
dangling object lines, they won't be buffered in memory at all.
Diffstat (limited to 'Backend/URL.hs')
0 files changed, 0 insertions, 0 deletions