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
|