Subj : Re: data compression on data blocks To : comp.programming From : rossum Date : Mon Aug 29 2005 11:36 pm On Mon, 29 Aug 2005 16:05:57 +0100, "David" wrote: >I have to implement a data compression to compress >a lot of different small data blocks (about 100 to 1000 bytes) >independend of each other. What are good algorithms to do this? >Compression must be lossless. >Thanks in advance >David > Try LZW Compression. It is a good general purpose lossless compression algorithm. If the data is non-random and has no special properties that would make some other specific algorithm more efficient then it is the one to go for. See http://www.dogma.net/markn/articles/lzw/lzw.htm rossum The ultimate truth is that there is no ultimate truth .