git-annex/debian
Joey Hess b086e32c63 unused: Reduce memory usage significantly.
Much of the memory bloat turned out to be due to getKeysReferenced
containing a mapM, which is strict and buffered the whole list
rather than streaming it.

The other half of the bloat was due to building a temporary Set
in order to call S.difference. While that is more cpu efficient,
I switched to successive S.delete, since with it, I can run a whole
git annex unused in less than 8 mb of memory.

The whole Set of keys with content available is still stored in memory,
so running unused in a repo with a whole lot of file content will still
use more memory. In a repo containing 6000 files, it needed 40 mb.

Note that the status command still uses the bloatful getKeysReferenced.
2012-03-11 16:24:07 -04:00
..
changelog unused: Reduce memory usage significantly. 2012-03-11 16:24:07 -04:00
compat debhelper v9 2012-01-15 14:53:38 -04:00
control version dependency on openssh-client 2012-02-25 19:31:46 -04:00
copyright update copyright format url 2012-02-25 10:40:05 -04:00
doc-base Add doc-base file. Closes: #621408 2011-04-06 21:57:22 -04:00
NEWS releasing version 3.20120123 2012-01-23 15:09:50 -04:00
rules update 2010-10-27 15:08:46 -04:00