chrome
2004-12-01 17:33:26 UTC
There's a problem I've been struggling with for some time. Let's
assume you are trying to compress a 1KB file. Doesn't matter which
particular compression program you are using. For any given 1KB file
the compression program may either compress the file, fail to have
any effect whatsoever, or actually increase the file size. (For
instance, try zipping a zip-file). There are 2^8000 possible 1KB
combinations. Of these, only a certain number are compressable even
by the best compression programs. What I've been trying to figure out
is, what percentage of them are? What would a pie chart for all
possible 1KB files look like if you divided it up into compressable
and uncompressable files? Would the percentage be similar for other
file-sizes as well, such as 10KB files, 50MB files, etc? How would
one go about solving this problem mathematically and does anyone here
have any educated guesses on the percentages?
*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
assume you are trying to compress a 1KB file. Doesn't matter which
particular compression program you are using. For any given 1KB file
the compression program may either compress the file, fail to have
any effect whatsoever, or actually increase the file size. (For
instance, try zipping a zip-file). There are 2^8000 possible 1KB
combinations. Of these, only a certain number are compressable even
by the best compression programs. What I've been trying to figure out
is, what percentage of them are? What would a pie chart for all
possible 1KB files look like if you divided it up into compressable
and uncompressable files? Would the percentage be similar for other
file-sizes as well, such as 10KB files, 50MB files, etc? How would
one go about solving this problem mathematically and does anyone here
have any educated guesses on the percentages?
*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*