Module similar::algorithms::patience

source ·
Expand description

Patience diff algorithm.

  • time: O(N log N + M log M + (N+M)D)
  • space: O(N+M)

Tends to give more human-readable outputs. See Bram Cohen’s blog post describing it.

This is based on the patience implementation of pijul by Pierre-Étienne Meunier.

Functions§