Hello,

On Jan 29 22:17 Paulo Nogueira wrote (excerpt):
Although I am completely oblivious of the inner workings
of grep, it seems rather strange that the ignore-case
could take (say) tens of times longer to execute than
the do-not-ignore-case -- and I am referring to normal
ASCII files.

Have a look at
http://en.opensuse.org/SDB:Plain_Text_versus_Locale
in particular the section
"Processing UTF-8 is slower than ISO-8859 and ASCII"
and replace the "wc" tool therein with "grep".

In other words:
Is grep still slow for you if you run it in a locale
environment that uses single byte character encoding?


Kind Regards
Johannes Meixner
--
SUSE LINUX Products GmbH -- Maxfeldstrasse 5 -- 90409 Nuernberg -- Germany
HRB 16746 (AG Nuernberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendoerffer

Reply via email to