Overview
Re-Pair Compression is a grammar compression method for grammar-based compression. It works by repeatedly replacing the most frequent adjacent symbol pair.
Re-Pair Compression addresses grammar-based compression by repeatedly replacing the most frequent adjacent symbol pair.
Compact metadata for implementation and discovery.
Re-Pair Compression is a grammar compression method for grammar-based compression. It works by repeatedly replacing the most frequent adjacent symbol pair.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n)
Worst
O(n log n)
Space
O(n)
Show repeatedly replacing the most frequent adjacent symbol pair on a small grammar-based compression example.
Re-Pair Compression operates in O(n) time and O(n) space within the Grammar Compression family. Often compared with Context Tree Weighting and Context Mixing.
What each reference supports for this entry.
Compression reference for Re-Pair Compression dictionary grammar compression and repeated-pair replacement.
Good next jumps from the relationship graph, ranked for useful discovery.
Compression · Specialized
Re-Pair Compression and Context Mixing are practical alternatives within grammar-based compression, with different assumptions and tradeoffs.
Compare with thisRe-Pair Compression and Context Tree Weighting are practical alternatives within grammar-based compression, with different assumptions and tradeoffs.
Re-Pair Compression and Context Mixing are practical alternatives within grammar-based compression, with different assumptions and tradeoffs.
Re-Pair Compression and PAQ Compression are practical alternatives within grammar-based compression, with different assumptions and tradeoffs.