bug-grep
[Top][All Lists]
Advanced

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

bug#20526: grep BUG: text file is detected as binary


From: Paul Eggert
Subject: bug#20526: grep BUG: text file is detected as binary
Date: Wed, 6 Jan 2016 00:32:17 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

Paul Eggert wrote:

grep -rP 'fed.*cba' .

On my machine the above command is 125x slower with the new grep than the old
one, which suggests some tuning is in order before releasing. (It's bogged down
inside libpcre somewhere.)

I installed the attached patch, which fixed this performance bug for me.

Attachment: 0001-grep-restore-P-PCRE_NO_UTF8_CHECK-optimization.patch
Description: Text Data


reply via email to

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