You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 5, 2024. It is now read-only.
Currently available in Java, JavaScript, Dart, C++, C#, Objective C, Lua and Python.
15
-
Regardless of language, each library features the same API and the same functionality.
16
-
All versions also have comprehensive test harnesses.
14
+
Originally built in 2006 to power Google Docs, this library is now available in C++, C#, Dart, Java, JavaScript, Lua, Objective C, and Python.
15
+
16
+
### Reference
17
+
18
+
*[API](https://github.com/google/diff-match-patch/wiki/API) - Common API across all languages.
19
+
*[Line or Word Diffs](https://github.com/google/diff-match-patch/wiki/Line-or-Word-Diffs) - Less detailed diffs.
20
+
*[Plain Text vs. Structured Content](https://github.com/google/diff-match-patch/wiki/Plain-Text-vs.-Structured-Content) - How to deal with data like XML.
21
+
*[Unidiff](https://github.com/google/diff-match-patch/wiki/Unidiff) - The patch serialization format.
22
+
*[Support](https://groups.google.com/forum/#!forum/diff-match-patch) - Newsgroup for developers.
23
+
24
+
### Languages
25
+
Although each language port of Diff Match Patch uses the same API, there are some language-specific notes.
A standardized speed test tracks the [relative performance of diffs](https://docs.google.com/spreadsheets/d/1zpZccuBpjMZTvL1nGDMKJc7rWL_m_drF4XKOJvB27Kc/edit#gid=0) in each language.
17
37
18
38
### Algorithms
19
39
This library implements [Myer's diff algorithm](https://neil.fraser.name/writing/diff/myers.pdf) which is generally considered to be the best general-purpose diff. A layer of [pre-diff speedups and post-diff cleanups](https://neil.fraser.name/writing/diff/) surround the diff algorithm, improving both performance and output quality.
0 commit comments