Skip to content

Run-length encoding (compression) · ⁨行程长度编码(压缩)⁩

English

Squeezing repeated data

  • Compression makes data smaller. Run-length encoding (RLE) is one simple way.
  • It works well when the same value repeats many times in a row.
  • It is lossless: from the squeezed form you can rebuild the exact original.
中文

压缩重复的数据

  • 压缩让数据变小。行程长度编码(RLE)是一种简单的方法。
  • 当同一个值连续重复很多次时,它的效果很好。
  • 它是无损的:从压缩后的形式可以重建出一模一样的原始数据。

Handout

Log in or create account · ⁨登录或创建账户⁩

IGCSE, A-Level · ⁨IGCSE、A-Level⁩ & AP · ⁨与 AP⁩