jhchen/fast-diff

Make it compatible with arrays by replacing s.charAt(i) with s[i]

Closed this issue · 3 comments

caub commented

I'll try and see

also substring -> slice

caub commented

I'm investigating with other libs for now: fast-array-diff and fast-myers-diff which are compatible with both strings and arrays

@caub Do you happen to recall why this was failing for you? We might've ran into a similar problem but we don't have enough information here.

@DennisTheMenace780 fastDiff(['a', 'b'], ['a', 'c']) used to fail