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

Jani Monoses jani at iv.ro
Thu Dec 23 05:20:59 PST 2004


> Is that necessary when I've explicitly told it that I only care about one file?
> 
> It seems me that since darcs already depends on a 'diff' binary, for the
> above case, darcs could in fact just quietly run:
> 
>  $ diff ../_darcs/current/file.txt file.txt
> 
> ...and that would seem to solve it.

Maybe it's playing it safe so that renames that happened across the dir or the file you 
select don't get misinterpreted. I am not sure what the reasons are but I'd like it to be 
faster myself :)





More information about the darcs-devel mailing list