[illumos-Developer] grep -Z etc? (decompress! was: webrev: 650 grep support for -q ...)

Joerg Schilling Joerg.Schilling at fokus.fraunhofer.de
Thu May 19 06:41:35 PDT 2011


Kurt Lidl <kurt.lidl at cello.com> wrote:

> This was back in the day of much slower machines (think pentiums @ 100Mhz),
> and stretching your available CPU mattered a lot.
>
> In a much more recent area, the libarchive stuff that FreeBSD has 
> produced can
> do all this uncompression directly in the library, without having to fork a
> child process.  Their "tar" program is just calls into the libarchive 
> library,
> and it runs very fast.

GNU tar is slow for other reasons. Star is faster than GNU tar and still uses 
pipes to the compress programs.


Jörg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



More information about the Developer mailing list