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

Previous Next

Package: grep;

Reported by: Vincent Lefevre <vincent <at> vinc17.net>

Date: Fri, 12 Sep 2014 01:26:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
Cc: Vincent Lefevre <vincent <at> vinc17.net>, 18454 <at> debbugs.gnu.org
Subject: bug#18454: Improve performance when -P (PCRE) is used in UTF-8 locales
Date: Wed, 17 Sep 2014 12:55:50 -0700
[Message part 1 (text/plain, inline)]
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.
[0001-grep-port-to-platforms-lacking-SEEK_DATA.patch (text/x-patch, attachment)]
[0002-grep-speed-up-processing-of-holes-before-EOF-on-Sola.patch (text/x-patch, attachment)]

This bug report was last modified 3 years and 181 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.