Function zerotrie::byte_phf::builder::find

source ยท
pub fn find(bytes: &[u8]) -> Result<(u8, Vec<u8>), Error>
Expand description

Directly compute the perfect hash function.

Returns (p, [q_0, q_1, ..., q_(N-1)]), or an error if the PHF could not be computed.