[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Regarding grep performacne 2.5.1
From: |
Tony Abou-Assaleh |
Subject: |
Re: Regarding grep performacne 2.5.1 |
Date: |
Thu, 27 Sep 2007 14:22:29 -0300 (ADT) |
Hi Ritesh,
It is normal for grep execution time to increase as the number or
complexity of patterns increases.
The latest version of grep is 2.5.3 which includes numerous bug fixes. I
would recommend upgrading to the latest version.
Cheers,
TAA
-----------------------------------------------------
Tony Abou-Assaleh
Email: address@hidden
Web site: http://tony.abou-assaleh.net
----------------------[THE END]----------------------
On Thu, 27 Sep 2007, Ritesh Mittal wrote:
> Hi,
>
> I am using grep 2.5.1 windows based code in my application. I simply set the
> search pattern(s) (seperated by \n) to the grep and apply grep continuously
> on buffer of 4KB. I have observed that when i increases the size of search
> pattern(s) (means I increases the number of search pattern) grep's
> performance degrades and grep takes more time to search the string.
>
> Can you help me in identifying the reason that wether its a normal grep
> behaviour or its some bug in Grep 2.5.1 version or might be fault in my
> code.
>
> Regards,
> Ritesh Mittal
>