Skip to main content

Module tac

Module tac 

Source

Functionsยง

tac_bytes
Reverse records separated by a single byte. For large data (>= 64MB): parallel forward SIMD scan + zero-copy IoSlice output. For small data: single-threaded backward SIMD scan + IoSlice batches.
tac_bytes_owned
Reverse records of an owned Vec. Delegates to tac_bytes.
tac_regex_separator
Reverse records using a regex separator. Uses write_vectored for regex path (typically few large records).
tac_string_separator
Reverse records using a multi-byte string separator. Uses SIMD-accelerated memmem + write_all output.