[OT] Compression of random binary data

Marko Rauhamaa marko at pacujo.net
Wed Jul 13 15:35:48 EDT 2016


Michael Torrie <torriem at gmail.com>:
> If the data is truly random then it does not matter whether you have 5
> bytes or 5 GB. There is no pattern to discern, and having more chunks
> of random data won't make it possible to compress.

That's true if "truly random" means "evenly distributed". You might have
genuine random numbers with some other distribution, for example
Gaussian: <URL: https://www.random.org/gaussian-distributions/>. Such
sequences of random numbers may well be compressible.


Marko



More information about the Python-list mailing list