On 04/11/2016 12:14 AM, Ondřej Cífka wrote:
> You're probably right about the locale. I'm using cs_CZ.UTF-8. With
> LC_ALL=C, both variants run faster and the difference is
> insignificant.
>
> With cs_CZ.UTF-8, on my machine, your test case takes 2.322s with -i
> and 0.464s without -i.
>
> I teste
You're probably right about the locale. I'm using cs_CZ.UTF-8. With
LC_ALL=C, both variants run faster and the difference is
insignificant.
With cs_CZ.UTF-8, on my machine, your test case takes 2.322s with -i
and 0.464s without -i.
I tested on my Aspell dictionary dump, where the difference is mo
This is following up on:
http://bugs.gnu.org/22239
Could you please supply some specific test cases to illustrate the problem? I'm
not seeing it, but this could be because I'm not using your locale, or am using
machine-generated patterns. I am using master grep in the C locale on Ubuntu
15.10
When running "grep -Fi -f list.txt" where list.txt has thousands of
lines, it takes orders of magnitude longer to process the input file
than without the -i. This was not the case in grep 2.16, where fgrep
-i was about as fast as fgrep.
--
Ondřej Cífka