[darcs-devel] optimizing darcs diff to be 4000 times faster
Mark Stosberg
mark at summersault.com
Wed Dec 22 11:12:48 PST 2004
darcs diff is one of the commands that is noticeably slower than
the CVS counterpart, even when comparing a CVS repo on a remote machine
versus a darcs repo on a local machine.
Here's a case which I think can be easily optimized. The following two
commands give exactly the same output, but darcs takes 13.4 seconds,
while just using diff takes 0.003 seconds.
$ 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? :)
Mark
More information about the darcs-devel
mailing list