git-annex/CmdLine
Joey Hess bfa26661d1
import: Avoid buffering all filenames to be imported in memory.
Test case is 24 directories each containing files named 1..10000.
The concat and filterM destroyed what laziness there is in
dirContentsRecursive, making it buffer all the filenames. Memory
use was around 300 mb (possibly growing slightly as it progressed).
After this fix, memory use drops to a constant 59 mb.

Note that dirContentsRecursive still buffers the entire content of a
directory (not subdirectories) so this is still not optimal.
2018-04-26 12:06:12 -04:00
..
GitAnnex squash build warning with optparse-applicative-0.14.1 2018-04-22 13:41:24 -04:00
GitAnnexShell implemented git-annex-shell p2pstdio 2018-03-07 15:38:01 -04:00
Action.hs Fix bug introduced in version 6.20171018 that caused some commands to print out "ok" twice after processing a file. 2017-12-28 17:31:16 -04:00
Batch.hs Always use filesystem encoding for all file and handle reads and writes. 2016-12-24 14:46:31 -04:00
GitAnnex.hs Added inprogress command for accessing files as they are being downloaded. 2017-12-28 11:46:39 -04:00
GitAnnexShell.hs implemented git-annex-shell p2pstdio 2018-03-07 15:38:01 -04:00
GitRemoteTorAnnex.hs move protocol version stuff to the Net free monad 2018-03-12 15:20:51 -04:00
GlobalSetter.hs mapM_ = sequence_ . map 2017-02-27 14:48:07 -04:00
Option.hs remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
Seek.hs import: Avoid buffering all filenames to be imported in memory. 2018-04-26 12:06:12 -04:00
Usage.hs initial export command 2017-08-29 15:10:01 -04:00