4 ms·
I think using a static dictionary is a bit of a "cheat" since it's not truly "compressing", but just moving some of that data somewhere else, i.e. the compresso
by userbinator 12y ago
I think using a static dictionary is a bit of a "cheat" since it's not truly "compressing", but just moving some of that data somewhere else, i.e. the compressor/decompressor increases in size. It also makes it less general. Compare this with e.g. pure LZ77 or Huffman, where all the data in the output is coming from the input itself and not somehow embedded in the algorithm.
Incidentally I really like LZ77 and its variants; it's my favourite compression algorithm, due to its incredible simplicity (a decompressor is just a bit over a dozen instructions) and intuitiveness. Thus I've always considered it odd that Huffman's paper was more than 20 years before LZ's - the Huffman algorithm is rather more complex. Perhaps the LZ algorithm was well known already, and considered too trivial to write a paper about? I do know that many have rediscovered LZ independently, without ever studying data compression theory.