Skip to main content

Module tac

Module tac 

Source

Functions§

tac_bytes
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.
tac_regex_separator
Reverse records using a regex separator.
tac_string_separator
Reverse records using a multi-byte string separator. Uses chunk-based forward SIMD-accelerated memmem + IoSlice zero-copy output.