Skip to main content

classify_bytes

Function classify_bytes 

Source
pub unsafe fn classify_bytes(input: &[u8]) -> Vec<u8> โ“˜
Expand description

Classify each byte using AVX2 โ€” 32 bytes at a time.

Uses the same algorithm as SSE4.2 but with 256-bit registers for double throughput.

ยงSafety

Caller must ensure AVX2 support.