Skip to main content

Module tac

Module tac 

Source

Functionsยง

tac_bytes
Reverse the records in data separated by a single byte separator and write to out. If before is true, the separator is attached before the record instead of after. Uses forward memchr scan for SIMD-accelerated separator finding with optimal prefetch.
tac_regex_separator
Reverse records using a regex separator. Uses regex::bytes for direct byte-level matching (no UTF-8 conversion needed).
tac_string_separator
Reverse records using a multi-byte string separator. Uses SIMD-accelerated memmem for substring search.