Mailinglist Archive: opensuse (4244 mails)

< Previous Next >
Re: [opensuse] Re: OpenSUSE 10.3 benchmarking: slower than 10.2?
  • From: Randall R Schulz <rschulz@xxxxxxxxx>
  • Date: Sun, 14 Oct 2007 07:14:55 -0700
  • Message-id: <200710140714.55479.rschulz@xxxxxxxxx>
On Sunday 14 October 2007 03:40, jdd wrote:
> ...
>
> as much as this, not by me!! and this should be think to fix (grep
> can be some time desperately slow)

Try egrep (grep -E) for full regular expressions. It converts the 
pattern from an NFA to a DFA (look it up if you care) and that's 
usually faster, especially if you're processing a lot of text, which 
seems to be the only case you'd could end up complaining about grep's 
speed.

If you decide to use egrep and are unfamiliar, read up on the 
differences in the pattern language, because it uses are several 
meta-characters not found in the basic grep regular expressions.

If you're searching for fixed strings, use fgrep (grep -F).


> are there other apps impacted as much?
>
> thanks
> jdd


Randall Schulz
-- 
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >