Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1.27 KB

README.md

File metadata and controls

21 lines (17 loc) · 1.27 KB

Building Language grade: C++

diff-match-patch-cpp

Another C++ variant of https://github.com/google/diff-match-patch. based on

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