Thanks for this library. For my usecase I need a custom eq function for diff, but noticed it's only an option on diff_core. However, diff performs additional processing that's desirable for speed purposes.
Additionally, lcs and calcPatch cannot be used at all if the user has a custom diff requirement, if for example the arrays are not reference-comparable.
I have added an optional eq parameter to these and wrote a small test.
Oh wow, sorry I didn't notice this for nearly 2 years! Yeah, this is a great change, thanks! Don't know why I didn't just do that myself in the first place...
Hi,
Thanks for this library. For my usecase I need a custom
eq
function fordiff
, but noticed it's only an option ondiff_core
. However,diff
performs additional processing that's desirable for speed purposes.Additionally,
lcs
andcalcPatch
cannot be used at all if the user has a custom diff requirement, if for example the arrays are not reference-comparable.I have added an optional
eq
parameter to these and wrote a small test.