bcmp
bcmp is a simple crate which offers data comparison mechanisms which go beyond the simple
equality. It only operates on byte slices, hence its name, and relies on efficiently finding
common substrings between two blob of data. This is implemented using HashMap which should
offer linear time operation provided the MatchKey is large enough.
Example
Iterating over the common substrings of two strings:
extern crate bcmp;
use MatchIterator;