Zlib is a good option for you. Ofcourse it's not the fastest option but it works great. I think you can get ZLib for Palm from www.zlib.org besides the necessary documentation. The size of header plus the compressed data can be greater than the size of original data if your data does not contain any redundency or your data is too small (Don't try to compress 1 byte :-D. In most of the cases, I have seen that ascii data gets compress really very well.
Khurram+ ----- Original Message ----- From: "Mike van der Merwe" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, December 20, 2001 5:10 PM Subject: Compression of records > Hi everyone > > I have an application with around 1,000 text records of around 1-2k each. > > I'd like to compress the records, but am a bit uncertain about how to go > about it. If I compress each record individually wouldn't the > header+compressed data be bigger than the original data? > > What algorithms are appropriate for compressing records and are there any > links that might be useful to me? > > Thanks for your help. > > Regards, > Mike > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
