Crate fastcmp [] [src]

A fast byte comparison library

The library is intended to provide a faster byte slice comparison than the standard library. Also raw string literals b"like this" are compareable this way.

Example usage

use fastcmp::Compare;

let vec = vec![1, 2, 3, 4, 5];
assert!(vec.feq(&[1, 2, 3, 4, 5]));



Memory compare trait