Skip site navigation (1)Skip section navigation (2)
Date:      30 Jul 1999 14:56:49 +0200
From:      Dag-Erling Smorgrav <des@flood.ping.uio.no>
To:        James Howard <howardjp@wam.umd.edu>
Cc:        Tim Vanderhoek <vanderh@ecf.utoronto.ca>, "Daniel C. Sobral" <dcs@newsguy.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: replacing grep(1)
Message-ID:  <xzpzp0e1ejy.fsf@flood.ping.uio.no>
In-Reply-To: James Howard's message of "Thu, 29 Jul 1999 19:05:57 -0400 (EDT)"
References:  <Pine.GSO.4.10.9907291856100.11776-100000@rac9.wam.umd.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
James Howard <howardjp@wam.umd.edu> writes:
> DES tells me he has a new version (0.10) which mmap()s.  It supposedly
> cuts the run time down significantly, I do not have the numbers in front
> of me.  Unfortunetly he has not posted this version yet so I cannot
> download it and run it myself.

It's in the usual place (ftp://ftp.ofug.org/pub/grep/).

>                                 He also says that if mmap fails, he drops
> back to stdio.  This should only happen in the NFS case, the > 2G case,
> etc.

Any case in which a) the file is too large to mmap, b) the file is not
a regular file, or c) mmap() fails (e.g. NFS).

DES
-- 
Dag-Erling Smorgrav - des@flood.ping.uio.no


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpzp0e1ejy.fsf>