Expand description
Constant-time operations.
Functionsยง
- Returns
Ok(())
ifa == b
andErr(error::Unspecified)
otherwise. The comparison ofa
andb
is done in constant time with respect to the contents of each, but NOT in constant time with respect to the lengths ofa
andb
.