bug#22239: fgrep -i slow in 2.21

2017-01-17 Thread Paul Eggert
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

bug#22239: fgrep -i slow in 2.21

2016-04-11 Thread Ondřej Cífka
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

bug#22239: fgrep -i slow in 2.21

2016-04-10 Thread Paul Eggert
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

bug#22239: fgrep -i slow in 2.21

2015-12-25 Thread Ondřej Cífka
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