Why it matters
RLE is simple + effective for runs. Understanding shapes compression.
Advertisement
The architecture
Scan input.
Emit (value, count) pairs.
Continue.
Advertisement
How it works end to end
Fixed-length count or variable.
Image + fax standard.
Sparse data efficient.