Re: Official request: Please make GNU grep the default

From: Peter Jeremy <peterjeremy_at_acm.org>
Date: Mon, 16 Aug 2010 20:03:52 +1000
On 2010-Aug-16 10:55:18 +0200, Dag-Erling Smørgrav <des_at_des.no> wrote:
>It might be worth a shot adding mmap(2) support as well, i.e. when
>processing an uncompressed regular file, try to mmap(2) it first, and if
>that fails, fall back to the plain buffered read(2) method.

Note that ZFS and mmap() don't get on especially well together so this
isn't a definite win.  You also need to allow for files that are too
large to be mapped in one go.

-- 
Peter Jeremy

Received on Mon Aug 16 2010 - 09:35:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:06 UTC