Expand description
Byte-sequence type mirroring the C++ lz::sequence class.
Structs§
- Sequence
- A symbolic sequence stored as raw bytes, plus a cached alphabet.
Functions§
- shuffle_
copy - Returns a shuffled copy after
timesiterations, with a deterministic seed. - shuffle_
copy_ seeded - Same as
shuffle_copybut with an explicit seed, so callers (LZ76 random shuffle complexity) can vary the seed per inner block size. - shuffle_
in_ place - In-place block shuffle of
s. Picks two non-overlapping aligned blocks ofblock_sizeand swaps them. Deterministic when called via [Sequence::shuffle_seeded].