• wumpus@latte.isnot.coffee
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    2
    ·
    1 year ago

    Regardless which lossless compression algorithm you prefer, it makes most files bigger.

    *where “files” includes all bitstrings of a given length, whether or not they’ve ever existed

    • SpaceNoodle@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      That’s pretty disingenuous, since most files aren’t just random data.

      Most real files actually have rather low entropy, even if they look like random junk (e.g., executables), chiefly due to repetition of similar data and sparse values.