[Zlib-devel] Compressing volatile data?

glennrp at comcast.net glennrp at comcast.net
Fri Sep 3 11:20:41 EDT 2010


----- Original Message -----
From: glennrp at comcast.net

         Don't you still hit the zmemcpy twice, 
         recreating the buf for each 'wrap'?

Duh, never mind that.  Looking at the code,
I see that the zmemcpy is only reached once.

Your change is excellent, makes the code look
a little simpler, and doesn't cost anything.

Glenn




More information about the Zlib-devel mailing list