Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2010 17:06:56 +0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= <des@des.no>
Cc:        Doug Barton <dougb@freebsd.org>, current@freebsd.org, core@freebsd.org, delphij@freebsd.org, Gabor Kovesdan <gabor@freebsd.org>, Dimitry Andric <dimitry@andric.com>
Subject:   Re: Official request: Please make GNU grep the default
Message-ID:  <AANLkTikmHX5yX5-oSDEb_0tmW2bny8%2BuKf8b368As=k1@mail.gmail.com>
In-Reply-To: <86aaoirac1.fsf@ds4.des.no>
References:  <4C6505A4.9060203@FreeBSD.org> <4C6C1CFE.6060900@FreeBSD.org> <86aaoirac1.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/8/19 Dag-Erling Sm=F8rgrav <des@des.no>:

> =A0time =A0 seconds =A0 seconds =A0 =A0calls =A0ms/call =A0ms/call =A0nam=
e
> =A038.8 =A0 =A0 =A0 0.03 =A0 =A0 0.03 =A0 =A012717 =A0 =A0 0.00 =A0 =A0 0=
.00 =A0memchr [5]
> =A035.6 =A0 =A0 =A0 0.07 =A0 =A0 0.03 =A0 =A0 =A0395 =A0 =A0 0.08 =A0 =A0=
 0.08 =A0_read [6]
> =A016.4 =A0 =A0 =A0 0.08 =A0 =A0 0.01 =A0 =A0 =A0 =A00 =A0100.00% =A0 =A0=
 =A0 =A0 =A0 _mcount [7]

memchr()? Really?

I've just looked at grep_fgetln(). Surely memchr() isn't required there.



Adrian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikmHX5yX5-oSDEb_0tmW2bny8%2BuKf8b368As=k1>