4 ms·
Ask HN: Algo for 2D Diffs?
Anyone have a good algorithms for minimum 2-dimensional diff? Input is 2 trimmed and clean CSVs (files don’t end in \n; lines don’t end in ,; no quotes or escaping)
- abqexpert 6y agoI don't think I have seen one, but if you can add some other delimiter yourself or modify the file that might help. You can always use a binary(non-line) based diff. I think cperciva's thesis was on one that became bsdiff.
- cperciva 6y agoThe other way around, bsdiff became part of my thesis. ;-)
- verdverm 6y agoYou can diff by word or char, look into the flags / options of your diff system