Re: Gzip better than Bz2 ? Normal?



Deron Meranda wrote:
It is a theorem that, for any [lossless] compression
algorithm which makes the compressed version of some file
smaller than the uncompressed version, there is a file for
which the compressed version is *larger* than the uncompressed
version.


It's also true that the amount of expansion in those cases
never has to be more than one additional bit.
--
Deron Meranda


Umm, I suppose that you mean that there is *another* compression algorithm which produces, for any file which is actually shrunk, an output which is the same except for being one bit longer, and which, for all the files which the original actually grows, produces an output which is only one bit longer than the uncompressed file.

There are lossless compression algorithms for which what you
said is not true.

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Recompressing poorly compressed files
    ... compression algorithm was not very good, and the 2nd one is very ... just compressing with a good algorithm in the first place of course. ... algorithms for compression and decompression, or even if the're a bit ... reversible (e.g. 'decompressing' a gif into a bitmap means losing some ...
    (comp.compression)
  • Re: Computer being developed modeled after human brain
    ... innate skills. ... run-length-encoding compression module. ... If the "edge detection" algorithm is not useful for ... edge detection algorithm will be replaced. ...
    (comp.ai.philosophy)
  • Re: Random Ideas
    ... 'Faqs' thread for compression queries. ... for any (lossless) data compression ... algorithm, there will be ... into other sequences of the same units. ...
    (comp.compression)
  • =?windows-1252?Q?Re=3A_Artificial_intelligence_and_Landauer=92s_princip?= =?windows-1252?Q?l
    ... Not so much a small amount of hardware rather a lot ... This is basically a data compression problem applied ... to a learning algorithm. ... understand how evolution evolved. ...
    (comp.ai.philosophy)
  • Re: Barcode Email
    ... > b) maps at least one input file to an output file that is ... We define compression differently. ... consider an algorithm that catelogued the ... > OpenBSD license, the Microsoft XP license, and so on), and ...
    (comp.security.misc)