On Mon, Oct 23, 2017 at 11:18 PM, alister via Python-list <python-list@python.org> wrote: > On Mon, 23 Oct 2017 10:41:55 +0100, Paul Moore wrote: > >> On 23 October 2017 at 10:32, <danceswithnumb...@gmail.com> wrote: >>> According to this website. This is an uncompressable stream. >>> >>> https://en.m.wikipedia.org/wiki/Incompressible_string >>> >>> 1234999988884321 >>> >>> It only takes seven 8 bit bytes to represent this >> >> Would you care to provide the seven 8-bit bytes you propose to use? >> Paul > > I would suspect he is using BCD & storing 2 values in reach byte > that is not what is meant by you cant compress random data. > his compression is simply removing redundant space from an inefficient > coding
I suspect he is using ASCII and storing one value in each byte. ChrisA -- https://mail.python.org/mailman/listinfo/python-list