What is a small and fast real time compression technique, like lz77?

algorithm, compression

Solution

I long ago had need for a simple, fast compression algorithm, and found Predictor.

While it may not be the best in terms of compression ratio, Predictor is certainly fast (very fast), easy to implement, and has a good worst-case performance. You also don't need a license to implement it, which is goodness.

You can find a description and C source for Predictor in Internet RFC 1978: PPP Predictor Compression Protocol.

Problem

What is the minimum source length (in bytes) for LZ77? Can anyone suggest a small and fast real time compression technique (preferable with c source). I need it to store compressed text and fast retrieval for excerpt generation in my search engine. thanks for all the response, im using D language for this project so it's kinda hard to port LZO to D codes. so im going with either LZ77 or Predictor. thanks again :)

Original source