replaysMike / AnyDiff

A CSharp (C#) diff library that allows you to diff two objects and get a list of the differences back.
Other
160 stars 17 forks source link

Feature Request - Add a new method that returns true, at the first encounter of difference #24

Open azme94 opened 5 months ago

azme94 commented 5 months ago

Request: A method that returns immediately, at the first encounter of difference, without any further difference checks. bool IsDiff(ob1, obj2)

Justification: Sometimes, the app only cares about if the objects are same or not and then only write the updated full object to DB.

replaysMike commented 5 months ago

Good idea, I'll look into implementing that on Monday as it would be pretty easy.

I may even through in some performance improvements since I haven't touched this lib in a while