Niels Thykier writes ("Re: Migration despite an RC bug?"):
> An exception in my experience: In process is cheaper when the
> (de)compressor is available in the PerlIO Layer as native C code.
> Notable example being libperlio-gzip-perl where you use "open(my $fd,
> '<:gzip', $file)".
>   At least that was the case when I benchmarked on Lintian in 2.5.10 (2
> releases ago).

Surely this depends a lot on what you are doing with the data.  If the
consumer is doing any significant computation, you save elapsed time
by being able to do decompression and consumption in parallel.

Russ Allbery writes ("Re: Migration despite an RC bug?"):
> Ah, I didn't try that!  I was only playing around with IO::Uncompress.  I
> may have to go revisit that project, since managing the external process
> was a huge pain.

Maybe there should be a library to do the process management.

Ian.

-- 
Ian Jackson <ijack...@chiark.greenend.org.uk>   These opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.

Reply via email to