Skip to main content

Module tac

Module tac 

Source

Functions§

tac_bytes
Reverse records separated by a single byte. Uses backward SIMD scan (memrchr) — zero Vec allocation, single pass. 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 backward SIMD-accelerated memmem (FinderRev) + IoSlice zero-copy output.