fn position(haystack: &PaddedVec, needle: u16) -> usize
The compiler optimizes the position search when the size of the chunk is known.