On Thu, 27 May 2004, Ming-Ching Tiew wrote: > OK thanks for the response. Upon closer investigation, I > found that it is my own problem. The LZO_COMPRESS is > taking the parameters as (source, source_len, dst, dest_len) > whereas zlib compress is (dest, dest_len, source, source_len). > > Therefore I just turned them around. It is now working !!! > > My next question is whether anyone has a comparison of LZO > and zlib in terms of relative time taken to compress. In addition, > the zlib compress2() has a compression level parameter, I would > also need to know how it fairs comparing with compress().
I don't have a URL at hand and no time to search, try looking for "archive shootout" or "archiver shootout" in the web (Google perhaps) and at the LZO home page. LZO boasts its speed, and the LZO home page might have figures. HTH, Matthias