Re: Fwd: possible Improving diff algoritm
- From
- Morten Welinder <mwelinder@gmail.com>
- Date
- Dec 12, 2012, 21:40 UTC
- Message-ID
- <CANv4PNm45xGBn2veKi1o0wB4K9NgsbtCsiymHNO4xbCDpJ5tDg@mail.gmail.com>
- In-Reply-To
- <7vvcc73yzh.fsf@alter.siamese.dyndns.org>
Show 7 quoted lines
> So I think with s/Regularly/About half the time/, your observation > above is correct. > > I think the reason you perceived this as "Regularly" is that you do > not notice nor appreciate it when things go right (half the time), > but you tend to notice and remember only when a wrong side happened > to have been picked (the other half).
Is there a reason why picking among the choices in a sliding window must be contents neutral?
I see these "illogical" (== stylistically not matching user intent) diffs quite often. C comments (as in the example given) and #ifdef blocks are typical cases.
Purely anecdotically, I have seen more trouble applying "illogical" diffs than I would have expected from the corresponding "logical" diffs.
Morten