Article View: gnu.misc.discuss
Article #63250Re: Library routines to read .Z and .gz?
From: Matt DiMeo
Date: Wed, 22 Feb 1995 18:52
Date: Wed, 22 Feb 1995 18:52
14 lines
1414 bytes
1414 bytes
In article <3hvs5p$abq@news.bu.edu>, Nik Conwell <nik@bu.edu> wrote: >The gzip TODO file indicates that one of the planned features is a library of >routines that can be called to do compressed I/O. Does anybody know of the >status of this, or if there are routines available? Dunno. But I've written a relatively simple gzopen() function that forks off a gzip -d process and reads from a pipe. I've found that in some heavily disk-io-bound programs, it's actually faster to read (300+ meg) files in gzipped form, even with the piping and decompressing. If anyone wants the code, send me mail. -Matt mdimeo@brooktree.com
Technical Details
Message-ID:
<3ig165$gvt@btree.brooktree.com>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!stern.fokus.gmd.de!gmdtub!cs.tu-berlin.de!fu-berlin.de!news.dfn.de!swiss.ans.net!howland.reston.ans.net!swrinde!ihnp4.ucsd.edu!network.ucsd.edu!btree.is.brooktree.com!mdimeoReferences:
<3hvs5p$abq@news.bu.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,797ed81f4e730972 X-Google-Attributes: gid1025b4,public X-Google-Thread: f6126,797ed81f4e730972 X-Google-Attributes: gidf6126,public X-Google-ArrivalTime: 1995-02-22 10:52:53 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!stern.fokus.gmd.de!gmdtub!cs.tu-berlin.de!fu-berlin.de!news.dfn.de!swiss.ans.net!howland.reston.ans.net!swrinde!ihnp4.ucsd.edu!network.ucsd.edu!btree.is.brooktree.com!mdimeo From: mdimeo@brooktree.com (Matt DiMeo) Newsgroups: gnu.misc.discuss,comp.compression Subject: Re: Library routines to read .Z and .gz? Message-ID: <3ig165$gvt@btree.brooktree.com> Date: 22 Feb 95 18:52:53 GMT References: <3hvs5p$abq@news.bu.edu> Organization: Brooktree Lines: 14 NNTP-Posting-Host: janx.is.brooktree.com