[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #14472] grep is slow in multibyte locales
From: |
Tony Abou-Assaleh |
Subject: |
[bug #14472] grep is slow in multibyte locales |
Date: |
Wed, 10 Oct 2007 22:47:35 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7 |
Update of bug #14472 (project grep):
Status: None => Confirmed
_______________________________________________________
Follow-up Comment #3:
$ apt-cache search '.*' >> f2
... repeat above about 50 times.
$ wc -l f2
239700 f2
$ LC_ALL=C time grep 'pack.*ge' f2 > /dev/null
0.03 real 0.02 user 0.00 sys
$ LC_ALL=en_US.utf-8 time grep 'pack.*ge' f2 > /dev/null
9.85 real 9.50 user 0.34 sys
Grep is taking way too long in utf-8, even though the file contains plain
ascii text.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?14472>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #14472] grep is slow in multibyte locales,
Tony Abou-Assaleh <=