bug-grep
[Top][All Lists]
Advanced

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

Re: grep-2.9 released [stable]


From: Jim Meyering
Subject: Re: grep-2.9 released [stable]
Date: Tue, 28 Jun 2011 17:59:31 +0200

Paolo Bonzini wrote:
> On 06/28/2011 02:31 PM, Jim Meyering wrote:
>> I'll add a NEWS entry once I better understand the consequences.
>
> I think it's only a performance problem (plus possibly other lurking
> overruns).

I found no semantic change, and even with outrageously complex
patterns (20-40K leaves -- approaching command line limits) I didn't
see a significant performance difference:

    re=$(perl -le 'print "(a|b)"x20000')
    src/grep -Eq "(a|z)(b|y)$re" < /dev/null

So I've gone ahead and pushed that change with neither
NEWS nor a test suite addition.



reply via email to

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