For Programmers: Free Programming Magazines  


Home > Archive > Compression > May 2005 > Newbie: compress in memory









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Newbie: compress in memory
Mike - EMAIL IGNORED

2005-05-30, 3:55 pm

I would like functions, in C or C++, that compress
and uncompress arrays in memory. Any suggestions?
Thanks,
Mike.
cr88192

2005-05-30, 3:55 pm


"Mike - EMAIL IGNORED" <m_d_berger_1900@yahoo.com> wrote in message
news:429B236E.5DC16B3D@yahoo.com...
>I would like functions, in C or C++, that compress
> and uncompress arrays in memory. Any suggestions?
> Thanks,
> Mike.


a few things need to be answered here, eg:
arrays of what?...

an array of bytes is different, eg, than an array of floats, or one of
structs. likewise, what kind of data is in said "array", eg, is it sparse
numerical data, or a dense dense glob of text, ...

once all this is answered, then a better answer may be possible...


Mike - EMAIL IGNORED

2005-05-30, 8:55 pm

cr88192 wrote:
>
> "Mike - EMAIL IGNORED" <m_d_berger_1900@yahoo.com> wrote in message
> news:429B236E.5DC16B3D@yahoo.com...
>
> a few things need to be answered here, eg:
> arrays of what?...
>
> an array of bytes is different, eg, than an array of floats, or one of
> structs. likewise, what kind of data is in said "array", eg, is it sparse
> numerical data, or a dense dense glob of text, ...
>
> once all this is answered, then a better answer may be possible...


Two kinds of arrays:
ASCII characters;
and nondescript bits.
Mike.
Matt Mahoney

2005-05-30, 8:55 pm



Mike - EMAIL IGNORED wrote:
> cr88192 wrote:
>
> Two kinds of arrays:
> ASCII characters;
> and nondescript bits.
> Mike.


http://www.gzip.org/zlib/

-- Matt Mahoney

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com