[darcs-devel] Re: optimizing darcs diff to be 4000 times faster

Jani Monoses jani at iv.ro
Thu Dec 23 01:03:08 PST 2004


> 
> $ darcs diff file.txt 
> $ diff ../_darcs/current/file.txt file.txt
> 
> Is there any chance this case could be optimized, so it doesn't take 
> over 4000 times longer to use darcs? :)

It look to me like darcs diff and darcs whatsnew compute the diff over the whole tree and 
then select only the part you're interested in. If you strace the command you'll see it 
slurping everything.





More information about the darcs-devel mailing list