[Zlib-devel] Optimizations needed for gzgets() (Zlib version 1.2.3)

Enrico Weigelt weigelt at metux.de
Wed Jan 6 19:32:22 EST 2010


Scott_Riley at amat.com wrote:

> I think you hit the nail right on the head. The current application we have
> integrated with the Zlib library requires processing files one line at a
> time; therefore we need to use gzgets() for compressed files since we use
> fgets() for uncompressed files. 

hmm, maybe you could call zcat as subprocess and assign its output
to a FILE ? ;-o

BTW: if you might consider rewriting the app to some vfs layer, you
could use libmvfs - it doesnt have zlib support right now, but I'm
going to add it soon anyways.


cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 cellphone: +49 174 7066481   email: info at metux.de   skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------





More information about the Zlib-devel mailing list