On 06/15/2010 08:31 AM, Alon Levy wrote:
[snip]
+ sizeof(zlib_data->data.bufs_head->buf));
+
+ // the compressed buffer is bigger than the original data
+ if (zlib_size>= glz_size) {
Does this actually happen in practice?
Yes, if the compression doesn't work well there is an overhead of
headers size. This is the reason for the lower size threshold
MIN_GLZ_SIZE_FOR_ZLIB.
Yonit.
_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel