opendiffy / diffy

Other
1.25k stars 142 forks source link

A question: What algorithm diffy uses to compare diffs? #70

Closed harsh8398 closed 2 years ago

harsh8398 commented 2 years ago

I am working on a project that requires diffy so I've been playing around with the diffy for sometime and I had this question that does diffy use some known algorithm to report noise? I tried to look at the code here, and it seems to be a custom logic that checks for types, length and sequence for comparison.

Thanks in advance!

puneetkhanduri commented 2 years ago

Thanks for your interest in Diffy. The difference logic implemented in Diffy is custom (no known algorithm was used for its implementation). Would love to understand any specific objectives you have in mind and help in any way we can.