const fn compute_lookup() -> [u8; 16] {
    let mut lookup = [0u8; 16];
    lookup[(b'\n' & 0x0f) as usize] |= 1 << (b'\n' >> 4);
    lookup[(b'\r' & 0x0f) as usize] |= 1 << (b'\r' >> 4);
    lookup[(b'*' & 0x0f) as usize] |= 1 << (b'*' >> 4);
    lookup[(b'_' & 0x0f) as usize] |= 1 << (b'_' >> 4);
    lookup[(b'~' & 0x0f) as usize] |= 1 << (b'~' >> 4);
    lookup[(b'|' & 0x0f) as usize] |= 1 << (b'|' >> 4);
    lookup[(b'&' & 0x0f) as usize] |= 1 << (b'&' >> 4);
    lookup[(b'\\' & 0x0f) as usize] |= 1 << (b'\\' >> 4);
    lookup[(b'[' & 0x0f) as usize] |= 1 << (b'[' >> 4);
    lookup[(b']' & 0x0f) as usize] |= 1 << (b']' >> 4);
    lookup[(b'<' & 0x0f) as usize] |= 1 << (b'<' >> 4);
    lookup[(b'!' & 0x0f) as usize] |= 1 << (b'!' >> 4);
    lookup[(b'`' & 0x0f) as usize] |= 1 << (b'`' >> 4);
    lookup
}
/// Generates a lookup table containing the bitmaps for our
/// special marker bytes. This is effectively a 128 element 2d bitvector,
/// that can be indexed by a four bit row index (the lower nibble)
/// and a three bit column index (upper nibble).
Generates a lookup table containing the bitmaps for our
special marker bytes. This is effectively a 128 element 2d bitvector,
that can be indexed by a four bit row index (the lower nibble)
and a three bit column index (upper nibble).
Generates a lookup table containing the bitmaps for our special marker bytes . This is effectively a 128 element 2d bitvector that can be indexed by a four bit row index ( the lower nibble ) and a three bit column index ( upper nibble ) .
const fn compute_lookup() -> [u8; 16] {
    let mut lookup = [0u8; 16];
    lookup[(b'\n' & 0x0f) as usize] |= 1 << (b'\n' >> 4);
    lookup[(b'\r' & 0x0f) as usize] |= 1 << (b'\r' >> 4);
    lookup[(b'*' & 0x0f) as usize] |= 1 << (b'*' >> 4);
    lookup[(b'_' & 0x0f) as usize] |= 1 << (b'_' >> 4);
    lookup[(b'~' & 0x0f) as usize] |= 1 << (b'~' >> 4);
    lookup[(b'|' & 0x0f) as usize] |= 1 << (b'|' >> 4);
    lookup[(b'&' & 0x0f) as usize] |= 1 << (b'&' >> 4);
    lookup[(b'\\' & 0x0f) as usize] |= 1 << (b'\\' >> 4);
    lookup[(b'[' & 0x0f) as usize] |= 1 << (b'[' >> 4);
    lookup[(b']' & 0x0f) as usize] |= 1 << (b']' >> 4);
    lookup[(b'<' & 0x0f) as usize] |= 1 << (b'<' >> 4);
    lookup[(b'!' & 0x0f) as usize] |= 1 << (b'!' >> 4);
    lookup[(b'`' & 0x0f) as usize] |= 1 << (b'`' >> 4);
    lookup
}
const fn compute_lookup ( ) -> [ u8 ; 16 ] { let mut lookup = [ 0u8 ; 16 ] ; lookup [ ( b'\n' & 0x0f ) as usize ] |= 1 << ( b'\n' >> 4 ) ; lookup [ ( b'\r' & 0x0f ) as usize ] |= 1 << ( b'\r' >> 4 ) ; lookup [ ( b'*' & 0x0f ) as usize ] |= 1 << ( b'*' >> 4 ) ; lookup [ ( b'_' & 0x0f ) as usize ] |= 1 << ( b'_' >> 4 ) ; lookup [ ( b'~' & 0x0f ) as usize ] |= 1 << ( b'~' >> 4 ) ; lookup [ ( b'|' & 0x0f ) as usize ] |= 1 << ( b'|' >> 4 ) ; lookup [ ( b'&' & 0x0f ) as usize ] |= 1 << ( b'&' >> 4 ) ; lookup [ ( b'\\' & 0x0f ) as usize ] |= 1 << ( b'\\' >> 4 ) ; lookup [ ( b'[' & 0x0f ) as usize ] |= 1 << ( b'[' >> 4 ) ; lookup [ ( b']' & 0x0f ) as usize ] |= 1 << ( b']' >> 4 ) ; lookup [ ( b'<' & 0x0f ) as usize ] |= 1 << ( b'<' >> 4 ) ; lookup [ ( b'!' & 0x0f ) as usize ] |= 1 << ( b'!' >> 4 ) ; lookup [ ( b'`' & 0x0f ) as usize ] |= 1 << ( b'`' >> 4 ) ; lookup }
Generates a lookup table containing the bitmaps for our
special marker bytes.
Generates a lookup table containing the bitmaps for our special marker bytes .