From: Michael K. <mi...@mu...> - 2008-11-27 16:16:35
|
On Thu, 27 Nov 2008, Michael Kirkham wrote: > Of course, anything other than giving an offset to Put() and getting back a > count of bytes consumed will add memcpy overhead to decoding PNG images that > doesn't exist now. Actually, there's going to be memcpy overhead using using split Put/Get functions anyway, since there's no guarantee that caller data will still be valid between calls to Put() and Get(). So Put() will have to copy all of the provided data, then wait for the call to Get() before invoking zlib. -- Michael Kirkham President & CEO Muonics, Inc. http://www.muonics.com/ |