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/