Another C++ variant of https://github.com/google/diff-match-patch. based on
- STL Port was done by Sergey Nozhenko ([email protected]) and posted on https://code.google.com/p/google-diff-match-patch/issues/detail?id=25
- and the weaks for std::string by [email protected] (Christian Leutloff)
This version was done following the current C# version as close as possible algorithm wise. However, this version has some special features:
- completely header-only as the old versions but the single large file has been splitted into separate files
- usage of string views
- tries to prevent most of the string creation operations
- string and container classes are completely exchangable by traits and wrappers
- support for more than 256 encoded lines in case of 1byte strings (by using separate traits for line encoding with 16 bit characters)
- support for string pool, thus completely eliminating the need for dynamic string creation
- everything is constexpr compatible