This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.7] BUG - GREP slows to a crawl with large number of matches on a single file
Changing LC_ALL also solved the problem for me.
But it begs the question of how many other basic and take-for-granted
functions might be affected by this apparent UTF-8 slowdown. And again we,
are not talking about some minor overhead, we are talking about a slowdown
of 1500X or 150,000%!!!!
As a North American English speaker, UTF-8 is not that important to me and
certainly not worth such a heavy overhead price.
Also, while I don't have 'pcgrep' installed on my machine, it is interesting
that 'sed' is not affected.
--
View this message in context: http://old.nabble.com/1.7--BUG---GREP-slows-to-a-crawl-with-large-number-of-matches-on-a-single-file-tp26224019p26249599.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple