The
move-to-front (MTF) transform is an
encoding of
data (typically a stream of
bytes) designed to improve the performance of
entropy encoding techniques of
compression. When efficiently implemented, it is fast enough that its benefits usually justify including it as an extra step in data compression
algorithms.