a964012fc3
I had not realized what a memory leak the lazy state monad could be, although I have not seen much evidence of actual leaking in git-annex. However, if running git-annex on a great many files, this could matter. The additional Utility.State.changeState adds even more strictness, avoiding a problem I saw in github-backup where repeatedly modifying state built up a huge pile of thunks. |
||
---|---|---|
.. | ||
Base64.hs | ||
CopyFile.hs | ||
DataUnits.hs | ||
Directory.hs | ||
Dot.hs | ||
FileMode.hs | ||
Format.hs | ||
Gpg.hs | ||
JSONStream.hs | ||
Matcher.hs | ||
Misc.hs | ||
Monad.hs | ||
PartialPrelude.hs | ||
Path.hs | ||
RsyncFile.hs | ||
SafeCommand.hs | ||
State.hs | ||
StatFS.hsc | ||
TempFile.hs | ||
Touch.hsc | ||
Url.hs |