Skip to main content

rle_encode_simd

Function rle_encode_simd 

Source
pub unsafe fn rle_encode_simd(input: &[u8], output: &mut Vec<u8>)
Available on x86-64 and target feature avx2 and crate feature simd only.
Expand description

Fast run-length encoding using SIMD

ยงSafety

This function requires AVX2 CPU support. Caller must ensure the CPU supports AVX2.