GNU bug report logs - #16232
[PATCH] grep: make --ignore-case (-i) faster (sometimes 10x) in multibyte locales

Previous Next

Package: grep;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Mon, 23 Dec 2013 22:40:02 UTC

Severity: normal

Tags: patch

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>, Padraig Brady <P <at> draigBrady.com>
Cc: 16232 <16232 <at> debbugs.gnu.org>
Subject: bug#16232: [PATCH] grep: make --ignore-case (-i) faster (sometimes 10x) in multibyte locales
Date: Wed, 19 Feb 2014 10:30:24 -0800
On 02/19/2014 06:22 AM, Norihiro Tanaka wrote:
> I tested performance on grep-2.17 and the version which the patch is reverted.
> Latter is 100x faster.

While we're on the topic, can someone please say why that patch was done 
as a preprocessor for the regex code?  I normally would think that the 
way to speed up regex processing is to improve dfa.c and/or the regex 
library, as that should speed up all programs that use these modules, 
not just grep.




This bug report was last modified 11 years and 82 days ago.

Previous Next


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