[darcs-users] darcs patch: Improve memory usage of darcs check and ... (and 1 more)

Bertram Felgenhauer int-e at gmx.de
Tue Mar 10 18:03:46 UTC 2009


Hi,

I noticed that 'darcs check' on the darcs2 repository takes 3-4 times
as much memory with darcs 2.2.0 as it did with 2.1.0; the first patch
below reduces this to a much more reasonable factor 1.5 or so, which
I believe can be attributed to using Slurpy.

(2.1.0 used different code for darcs check; see patch
'Implement Commands.Check in terms of Repository.Repair functionality.')

regards,

Bertram

Tue Mar 10 13:03:57 CET 2009  Bertram Felgenhauer <int-e at gmx.de>
  * Improve memory usage of darcs check and repair.
  'applyAndFix' in D.Repository.Repair kept all processed patches around,
  but only their info is actually needed.

Tue Mar 10 13:04:59 CET 2009  Bertram Felgenhauer <int-e at gmx.de>
  * Fix typo.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 97608 bytes
Desc: A darcs patch for your repository!
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090310/7f592328/attachment-0001.bin>


More information about the darcs-users mailing list