Overview
Move-to-front transform turns local repetition into many small numbers, which often compress well after Burrows-Wheeler-style reordering.
Replaces each symbol with its position in a changing list moved to the front after use.
Compact metadata for implementation and discovery.
Move-to-front transform turns local repetition into many small numbers, which often compress well after Burrows-Wheeler-style reordering.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n * alphabet)
Worst
O(n * alphabet)
Space
O(alphabet)
Show symbols being transformed into codes and reconstructed by the decoder state.
Move-to-Front Transform should be used with the assumptions and tradeoffs of transform Coding in mind.
What each reference supports for this entry.
Compression textbook support for Move-to-Front Transform's coding model, decoder behavior, and implementation tradeoffs.
Open sourceTechnical report support for block sorting and move-to-front stages in BWT compression.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Move-to-front coding is commonly applied after BWT.
Move-to-front output is often entropy-coded afterward.