Each difference is an array (JavaScript, Lua) or tuple (Python) or Diff object (C++, C#, Objective C, Java). The first element specifies if it is an insertion (1), a deletion (-1) or an equality (0). The second
import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import org.junit.Test; public class SpeedTest { @Test public void testSpeed() throws Exception { String text1 = readFile("src/test/java/name/fraser/neil/plaintext/Speedtest1.txt"); String text2 = readFile...
java javascript lua maven objectivec python2 python3 __init__.py diff_match_patch.py diff_match_patch_test.py COPYING README.txtBreadcrumbs google-diff-match-patch /python3/ diff_match_patch_test.pyLatest commit neil.fraser Improve diff sliding algorithm to encourage lining up and the end of...