On Fri, Jul 30, 1999 at 03:27:20PM +0200, Dag-Erling Smorgrav wrote:
>
> > 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.
Strange... His patches made grep on my system much faster than the
original 0.10 and almost as fast as GNU grep.
b$ /usr/bin/time ./grep-10 -e printer longfile > /dev/null
1.16 real 0.97 user 0.19 sys
b$ /usr/bin/time ./grep-10-jmg -e printer longfile > /dev/null
0.48 real 0.43 user 0.04 sys
b$ /usr/bin/time grep -e printer longfile > /dev/null
0.28 real 0.09 user 0.18 sys
This is one of the original Celerons, FWIW. Once-in-a-while that gives
me performance numbers somewhat different from any other Intel.
--
This is my .signature which gets appended to the end of my messages.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message