One case where patience diff does much better

Martin Pool mbp at sourcefrog.net
Sun Feb 26 22:29:14 GMT 2006


On 26 Feb 2006, John Arbash Meinel <john at arbash-meinel.com> wrote:

> And he has a point that the matching is a little unsure, but Aaron & I
> both felt that the 'aaa' should be matched.
> 
> (The unsure case is something like XaaaaY => QaaaP, which 'a' was
> deleted? Or even worse XaaaaY => QaaPa, which one was deleted, was P
> inserted, or were 2 lines deleted and one more 'a' was added.)
> 
> Because of the disagreement, I fall back to difflib (which will find
> those matches), after using Patience in the first pass.

Do you know if that fallback has much effect on speed?

-- 
Martin




More information about the bazaar mailing list