Skip to main content

tac_bytes

Function tac_bytes 

Source
pub fn tac_bytes(
    data: &[u8],
    separator: u8,
    before: bool,
    out: &mut impl Write,
) -> Result<()>
Expand description

Reverse records separated by a single byte. Uses chunk-based forward SIMD scan processed in reverse order for maximum throughput — eliminates per-line memrchr call overhead. Output uses write_vectored (writev) for zero-copy from mmap’d data.