Date: 30 Jul 1999 15:30:33 +0200 From: Dag-Erling Smorgrav <des@flood.ping.uio.no> To: Dag-Erling Smorgrav <des@flood.ping.uio.no> Cc: John-Mark Gurney <gurney_j@resnet.uoregon.edu>, James Howard <howardjp@wam.umd.edu>, Tim Vanderhoek <vanderh@ecf.utoronto.ca>, "Daniel C. Sobral" <dcs@newsguy.com>, freebsd-hackers@FreeBSD.ORG Subject: Re: replacing grep(1) Message-ID: <xzpwvvi1czq.fsf@flood.ping.uio.no> In-Reply-To: Dag-Erling Smorgrav's message of "30 Jul 1999 15:27:20 %2B0200" References: <19990729182229.E24296@mad> <Pine.GSO.4.10.9907291856100.11776-100000@rac9.wam.umd.edu> <19990729164533.36798@hydrogen.fircrest.net> <xzpyafy1d53.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smorgrav <des@flood.ping.uio.no> writes: > John-Mark Gurney <gurney_j@efn.org> writes: > > it was VERY simple to do... and attached is the patch... this uses the > > option REG_STARTEND to do what the copy was trying to do... all of the > > code to use REG_STARTEND was already there, it just needed to be enabled.. > Funnily, I experience a near-doubling of running time with similar > patches. To be precise, I experience a 30% decrease in system time and a 100% increase in user time when I use RE_STARTEND and eliminate the malloc() / memcpy() calls in procfile(). 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?xzpwvvi1czq.fsf>