Re: compression API available in Java & C++?
- From: Roedy Green <my_email_is_posted_on_my_website@xxxxxxxxxxxxxx>
- Date: Wed, 07 Dec 2005 01:52:02 GMT
On Tue, 6 Dec 2005 16:58:05 -0700, "Monique Y. Mudama"
<spam@xxxxxxxxxxxxxxxx> wrote, quoted or indirectly quoted someone who
said :
>I'm looking for a compression algorithm that works better than gzip
>for small (12 bytes or so) chunks of data. Ideally there would be a
>free implementation for Java and C++ that we could use for commercial
>purposes.
>
>Specifically, we are streaming data from a C++ server to a Java applet
>and would love to use as little bandwidth as possible.
>
>We're not using any form of compression right now, but the belief is
>that gzip works in blocks, so small chunks of data don't get much
>benefit. (Anyone disagree?)
the key to this in getting a big sample to compress and studying it
and seeing that both ends have access to the same summary info. You
won't do much with totally self contained messages.
What do you know about the data? Every additional fact can be
exploited in designing custom compression.
It the ideal case, your 12 bytes are one of 100 phrases (commands) and
you can replace them with a 1 byte int indexing the message.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.
- Follow-Ups:
- Re: compression API available in Java & C++?
- From: Monique Y. Mudama
- Re: compression API available in Java & C++?
- References:
- compression API available in Java & C++?
- From: Monique Y. Mudama
- compression API available in Java & C++?
- Prev by Date: Re: problem reading TCP packets on socket
- Next by Date: Re: problem reading TCP packets on socket
- Previous by thread: Re: compression API available in Java & C++?
- Next by thread: Re: compression API available in Java & C++?
- Index(es):
Relevant Pages
|