Skip to content

minervous/diff-match-patch-cpp

 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • C++ 90.7%
  • C 4.5%
  • CMake 3.9%
  • Other 0.9%