summaryrefslogtreecommitdiff
path: root/Git/Repair.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-03-10 15:12:54 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-03-10 15:14:09 -0400
commitb7ac0db88f367ceb1df863c35c44d4a6e0f51a1e (patch)
tree14fb3dbd1201a879cfd2eb79e2c2d3dde30fc27b /Git/Repair.hs
parentb590db53ef36f9446d32cf29423b658697cdf6b7 (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 'Git/Repair.hs')
0 files changed, 0 insertions, 0 deletions