bug-grep
[Top][All Lists]
Advanced

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

bug#18454: Improve performance when -P (PCRE) is used in UTF-8 locales


From: Paul Eggert
Subject: bug#18454: Improve performance when -P (PCRE) is used in UTF-8 locales
Date: Wed, 17 Sep 2014 12:55:50 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0

Thanks for reporting that, I forgot that the code defaulted SEEK_HOLE but not SEEK_DATA. The first attached patch should fix it. The second one should improve performance further on Solaris for files that end in holes.

Attachment: 0001-grep-port-to-platforms-lacking-SEEK_DATA.patch
Description: Text Data

Attachment: 0002-grep-speed-up-processing-of-holes-before-EOF-on-Sola.patch
Description: Text Data


reply via email to

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