[darcs-devel] [Comment] Re: [darcs #9] store old and new hunk sizes in Hunk data structure.

David Roundy droundy at abridgegame.org
Sat Nov 6 06:47:42 PST 2004


On Thu, Nov 04, 2004 at 10:42:08AM -0500, Mark Stosberg via RT wrote:
> 
> http://bugs.darcs.net/.//Ticket/Display.html?id=9
> This is a comment.  It is not sent to the Requestor(s):
> 
> In gmane.comp.version-control.darcs.devel, you wrote:
> >
> > The biggest question will be whether it is beneficial, since there's a
> > time-space tradeoff here.
> 
> Disk space is cheap. The human time waiting for darcs to finish something
> is precious.

Yes, I was referring to memory space, and when that hits swap, taking more
space usually means more time.  And of course, if one runs out of memory,
then it's even worse.  I wouldn't bother storing the hunk sizes on disk,
since that would change the patch format (bad), and wouldn't really gain in
performance unless you also stored the number of characters--by size I mean
number of lines, which is what's relevant when doing commutations.
-- 
David Roundy
http://www.abridgegame.org




More information about the darcs-devel mailing list