darcs

Patch 1224 Hack in more incremental use of applyPatchMods

Title Hack in more incremental use of applyPatchMods
Superseder Nosy List ganesh, gh
Related Issues patch index creation consumes too much memory
View: 2405
Status rejected Assigned To
Milestone

Created on 2014-11-15.14:30:07 by ganesh, last changed 2015-02-12.18:11:56 by gh.

Files
File name Status Uploaded Type Edit Remove
patch-preview.txt ganesh, 2014-11-15.14:30:06 text/x-darcs-patch
refactor-patch-index-code-a-bit.dpatch ganesh, 2014-11-15.14:30:07 application/x-darcs-patch
unnamed ganesh, 2014-11-15.14:30:07
See mailing list archives for discussion on individual patches.
Messages
msg17802 (view) Author: ganesh Date: 2014-11-15.14:30:07
Just for discussion/experimentation, will need cleaning up
to actually apply to the repo.

This seems to improve the maximum memory usage of making the
patch index on darcs.net. There are still spikes rather than
flat usage though so I'm not entirely sure what's happening.

I also haven't measured the impact on total time spent.

2 patches for repository darcs-unstable@darcs.net:screened:

Thu Nov 13 07:26:27 GMT 2014  Ganesh Sittampalam <ganesh@earth.li>
  * refactor patch index code a bit
  
   - generalise return type of patches2patchMods to make it easier
     to call incrementally
  
   - abstract out patchSet2patchMods in preparation for a more
     efficient implementation
  

Sat Nov 15 14:23:40 GMT 2014  Ganesh Sittampalam <ganesh@earth.li>
  * Hack in more incremental use of applyPatchMods
  This is just to experiment with the concept, do not apply.
Attachments
msg18095 (view) Author: gh Date: 2015-02-12.18:11:56
This bundle is obsolete.
History
Date User Action Args
2014-11-15 14:30:07ganeshcreate
2014-11-15 14:31:13ganeshsetnosy: + gh
issues: + patch index creation consumes too much memory
2014-11-15 19:02:44ganeshsetstatus: needs-screening -> in-discussion
2014-11-15 19:03:03ganeshsettitle: refactor patch index code a bit (and 1 more) -> Hack in more incremental use of applyPatchMods
2015-02-12 18:11:56ghsetstatus: in-discussion -> rejected
messages: + msg18095