4 ms·
Here's a port to C# that's hopefully more straightforward for people using other languages[1] (especially languages without slices). > minimal logic As the po
by zamalek 10y ago
Here's a port to C# that's hopefully more straightforward for people using other languages[1] (especially languages without slices).
> minimal logic
As the port demonstrates, Patience has very little logic - especially if you remove the optimizations.
[1]: https://github.com/jcdickinson/difflib/blob/master/DiffLib/PatienceSequenceMatcher.cs https://github.com/jcdickinson/difflib/blob/master/DiffLib/P...