cumulo-dipa 0.1.2

dipa makes it easy to efficiently delta encode large Rust data structures.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Sequences

The `Diffable` implementation for standard library sequences such as `Vec<T>` and `[T; N]` relies on a
dynamic programming solution to the [longest common subsequence][lcs] problem.

This means that delta encoding lists has a time complexity of `O(M * N)`, where `M` and `N` are
the lengths of the before and after lists.

When your lists are small this is unlikely to be a performance bottleneck.

However, if your application deals with lots of large lists and you have benchmarked that delta encoding
your lists is a performance bottleneck, consider making use of a [changed flag](../changed-flags).

[lcs]: https://en.wikipedia.org/wiki/Longest_common_subsequence_problem