Zlib Compression

Thong Nguyen tummy "at" technologist.com
Wed, 24 Nov 1999 15:47:57 +0000


> When I made my former "hacked" version of VNC with zlib I looked at the
> degree of compression obtained with zlib, and found that for messages
> under about 250 bits in length, the zlib-compressed version usually was
> slightly longer than the original message. I tried not compressing those
> messages and found that the mouse response improved a bit, in a fast
> local network. One saves in the message length and in the compression
> and decompression time. This could be a suggestion for incorporation in
> this new zlib-compressed version of VNC.

That's a good idea, I've done some work on WinVNC, implementing a different
zlib method than the one I originally did based on Warren's work.  Basically
it allows you to switch stream-encoding methods in between messages, so you
could like turn zlib on and off, or turn zlib off and turn encryption on
etc.  And that might prove useful here.
Ofcourse another alternative would just to change the zlib level down really
low when the message length is small.

..Tummy..
/----------------------------\
Thong (Tum) Nguyen
UIN: 1488812
MSBETA: 282702
tummy "at" technologist.com
http://tummy.veridicus.com
\----------------------------/


---------------------------------------------------------------------
The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------