Functions§
- complement
- Parse a tr character set string into a Vec
of expanded characters. - delete
- delete_
mmap - Delete from mmap’d byte slice. Uses SIMD memchr for single/multi char fast paths.
- delete_
squeeze - delete_
squeeze_ mmap - Delete + squeeze from mmap’d byte slice.
- expand_
set2 - Expand SET2 to match SET1 length for translation. If SET2 has [c*] repeats, fill them. Otherwise repeat last char.
- parse_
set - Parse a SET string into expanded bytes.
- squeeze
- squeeze_
mmap - Squeeze from mmap’d byte slice.
- translate
- translate_
mmap - Translate bytes from an mmap’d byte slice. Simple chunked approach: translate into a 4MB buffer, write each chunk.
- translate_
squeeze - translate_
squeeze_ mmap - Translate + squeeze from mmap’d byte slice.