memchr::arch::all::shiftor

Type Alias Mask

Source
type Mask = u16;
Expand description

The type of our mask.

While we don’t expose anyway to configure this in the public API, if one really needs less memory usage or support for longer needles, then it is suggested to copy the code from this module and modify it to fit your needs. The code below is written to be correct regardless of whether Mask is a u8, u16, u32, u64 or u128.