Skip to content

Simple Diff Function implemented in Python, PHP, CoffeeScript, and JavaScript

License

Notifications You must be signed in to change notification settings

mauricoder/simplediff

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a fork of Paul Butler simplediff algorithm.

He implemented it as plain php functions, and we needed it to be in a class and namespaced.

simplediff is an implementation of a diff function similar to Ratcliff/Metzener1

It's not the fastest diff algorithm, but it's simple enough to understand in an afternoon. That said, it's been in use for five years and I've never heard a complaint about performance. There are now four implementations (Python, CoffeeScript, JavaScript, and PHP), all mostly sharing the same interface.

The PHP code for the algorithm was written by Paul Butler in 2007 respectively.

PHP fix contributed by multiwebinc, 2013.

  1. Pattern Matching: The Gestalt Approach

About

Simple Diff Function implemented in Python, PHP, CoffeeScript, and JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%