bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep


From: Malcolm Johnston
Subject: grep
Date: 31 Mar 2003 14:22:12 +1000

I am running RedHat 8.0 on an AMD Athlon XP 2100+ platform, and grep,
while it works, is about 25 times slower than it was on my Pentium II
450. For instance, the pattern '[^\na]a?\.(bc|d-g)+$' takes about 0.75+
of a second compared to 0.040; the pattern ''[Oo]ne|[Tt]wo|...up to
[Ee]ight' takes over three seconds.  Perl and awk and even I program I
wrote with the help of a book are all a lot faster; even when the
pattern is just literals grep is still just as slow.  Any thoughts?

                                                Dr Malcolm Johnston







reply via email to

[Prev in Thread] Current Thread [Next in Thread]