Follow-up Comment #4, bug #14472 (project grep):
I can confirm that on versions 2.5.2 (shipped with openSuSE 10.3) and 2.5.3:
LC_ALL=en_US.utf-8 is four orders of magnitude slower than LC_ALL=C when
grepping pure ASCII input with a frequently matched simple [no kleene star]
pattern. This effectively hobbles all kinds of scripts...
# wc -l /var/log/messages
90833 /var/log/messages
# LC_ALL=C time grep proxy /var/log/messages > /dev/null
0.03user 0.00system 0:00.04elapsed 107%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+185minor)pagefaults 0swaps
# LC_ALL=en_US.utf-8 time grep proxy /var/log/messages > /dev/null
84.94user 0.05system 1:29.63elapsed 94%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+239minor)pagefaults 0swaps
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?14472>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/