Date: Tue, 27 Jul 1999 22:42:02 +0200 From: Wolfram Schneider <wosch@panke.de.freebsd.org> To: Dag-Erling Smorgrav <des@yes.no>, hackers@FreeBSD.org Subject: Re: replacing grep(1) Message-ID: <19990727224202.25160@panke.de.freebsd.org> In-Reply-To: <xzpd7xeb9xc.fsf@des.follo.net>; from Dag-Erling Smorgrav on Tue, Jul 27, 1999 at 01:37:35PM %2B0200 References: <xzpd7xeb9xc.fsf@des.follo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1999-07-27 13:37:35 +0200, Dag-Erling Smorgrav wrote: > Jamie Howard (howardjp@wam.umd.edu), with a little help from yours > truly, has written a BSD-licensed version of grep(1) which has all the > functionality of our current (GPLed) implementation, plus a little > more, in one seventh the source code and one fourth the binary code. > What's more, the code is actually possible for mere mortals to read > and understand. > > The source code is available for download from freefall: > > <URL:http://www.freebsd.org/~des/software/grep-0.7.tar.gz> > > I move that we replace GNU grep in our source tree with this > implementation, once it's been reviewed by all concerned parties. It is 25 times slower than GNU grep ;-((((((( $ time /usr/bin/grep foobar /var/tmp/mailbox >/dev/null 0.90 real 0.78 user 0.12 sys $ time /usr/local/bin/grep foobar /var/tmp/mailbox >/dev/null 24.31 real 22.36 user 1.69 sys (/var/tmp/mailbox is 81MB large). I often use grep for large data (in main memory). I don't care about the GNU license. I care about poor performance. -- Wolfram Schneider <wosch@freebsd.org> http://wolfram.schneider.org 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?19990727224202.25160>