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: Jim Meyering <jim <at> meyering.net>
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: Tue, 16 Sep 2014 22:18:29 -0700
Jim Meyering wrote:
> Slightly surprised that 4/6 makes a measurable performance
> difference (didn't check),

It's not measurable.  I should have written it up as a cleanup more than 
as a speedup.

I did like breaking the nominal ZB/s barrier, though, in patch 6/6. 
That's waaaay more than the total throughput of the Internet.  It tops 
even the hypothetical throughput if one recruited the entire US freight 
industry to move nothing but MicroSD cards, which xkcd estimates would 
get only 0.06 ZB/s or so.

http://what-if.xkcd.com/31/




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.