Re: Official request: Please make GNU grep the default

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Mon, 16 Aug 2010 10:55:18 +0200
Dimitry Andric <dimitry_at_andric.com> writes:
> - Uses plain file descriptors instead of struct FILE, since the
>   buffering is done manually anyway, and it makes it easier to support
>   gzip and bzip2.

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.

DES
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Mon Aug 16 2010 - 06:55:23 UTC

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