Functionsยง
- verify_
slices_ are_ equal - Returns
Ok(())ifa == bandErrorotherwise. The comparison ofaandbis done in constant time with respect to the contents of each, but NOT in constant time with respect to the lengths ofaandb.
Ok(()) if a == b and Error otherwise.
The comparison of a and b is done in constant time with respect to the
contents of each, but NOT in constant time with respect to the lengths of
a and b.