Poll: Lemon trees are nice...
You do not have permission to vote in this poll.
Yes
100.00%
6 100.00%
Total 6 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Does anybody know anything about compression?
#18
Red_Marvin, your approach may actually work correctly if you try to create the mathmatical formula for blocks of data rather than the entire file. For example if a sequence of bytes in the file were a, b, c, d, e, f, g, ... Then you could create a formula for that block and store a block lookup table at the beginning of the compressed file.

The problem is that not all data can be represented by mathmatical formula, completely random data being the prime example and that it would be computationaly expensive for a compression algorithm to try and derive formulas from data, how would the machine know how big to make the blocks, or the best arrangement.

Most good compression algorithms (ie JPEG and bzip) are hybrids of several compression techniques. A good compression algorithm should also yield good results for most types of data, ie an algorithm that compresses some data very well, but makes random data larger is not ideal.
esus saves.... Passes to Moses, shoots, he scores!
Reply


Messages In This Thread
www.google.com - by Agamemnus - 01-29-2003, 04:23 AM
Does anybody know anything about compression? - by LooseCaboose - 01-31-2003, 04:49 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)