[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Run-time dynamic linking in grep
From: |
Reuben Thomas |
Subject: |
Re: Run-time dynamic linking in grep |
Date: |
Fri, 21 Jan 2011 19:27:36 +0000 |
On 21 January 2011 19:22, Paul Eggert <address@hidden> wrote:
> On 01/21/2011 11:16 AM, Reuben Thomas wrote:
>>> Won't this have bad performance on multicore machines,
>>> > compared to doing the decompression in a separate process?
>> If it does, you can do the decompression in a separate process.
>
> Sorry, I don't follow. In the common case where I'm
> doing a 'grep -r', and some files are compressed but
> others are not, how can I, as a 'grep' user, do the decompression
> in a separate process? I don't see any easy way to do that.
You can't simply by running grep. At the moment, there is no way to
decompress while running grep.
I'm sorry, I thought you were asking how you would attack an existing
problem with the new syntax, to which my reply was, use the old
syntax; but in fact you were addressing the implementation.
This is an interesting suggestion, not just because of performance
reasons, but because I was trying to interface at the library level,
while using a decompressor program directly would avoid having to do
API impedance matching.
--
http://rrt.sc3d.org
- Re: Run-time dynamic linking in grep, (continued)
- Re: Run-time dynamic linking in grep, Gilles Espinasse, 2011/01/21
- Re: Run-time dynamic linking in grep, Reuben Thomas, 2011/01/21
- Re: Run-time dynamic linking in grep, Jim Meyering, 2011/01/21
- Re: Run-time dynamic linking in grep, Reuben Thomas, 2011/01/21
- Re: Run-time dynamic linking in grep, Jim Meyering, 2011/01/21
- Re: Run-time dynamic linking in grep, Paul Eggert, 2011/01/21
- Re: Run-time dynamic linking in grep, Reuben Thomas, 2011/01/21
- Re: Run-time dynamic linking in grep, Paul Eggert, 2011/01/21
- Re: Run-time dynamic linking in grep,
Reuben Thomas <=