Re: bug#40634: Massive pattern list handling with -E format seems very slow since 2.28.

2020-09-21 Thread Paul Eggert
The dust seems to have settled on this, so I'm closing the grep bug report to tidy things up.

Re: bug#40634: Massive pattern list handling with -E format seems very slow since 2.28.

2020-09-14 Thread Jim Meyering
On Sun, Sep 13, 2020 at 7:03 PM Paul Eggert wrote: > On 9/11/20 11:41 PM, Jim Meyering wrote: > >> https://bugs.gnu.org/40634#32 > >> > >> I'll try to take a look at the later patch. > > > > Oh! Glad you spotted that. > > I took a look and the basic idea sounds good though I admit I did not check

Re: bug#40634: Massive pattern list handling with -E format seems very slow since 2.28.

2020-09-13 Thread Paul Eggert
On 9/11/20 11:41 PM, Jim Meyering wrote: https://bugs.gnu.org/40634#32 I'll try to take a look at the later patch. Oh! Glad you spotted that. I took a look and the basic idea sounds good though I admit I did not check every detail. While looking into it I found some opportunities for impro

Re: bug#40634: Massive pattern list handling with -E format seems very slow since 2.28.

2020-09-11 Thread Jim Meyering
On Sat, Sep 12, 2020 at 1:01 AM Paul Eggert wrote: > > And here is the adjusted patch: > > Hold on, that looks like a cleanup of the April 18 patch posted here: > > https://bugs.gnu.org/40634#26 > > But there's a later patch dated April 19, which Norihiro Tanaka said should be > more correct and s

Re: bug#40634: Massive pattern list handling with -E format seems very slow since 2.28.

2020-09-11 Thread Paul Eggert
And here is the adjusted patch: Hold on, that looks like a cleanup of the April 18 patch posted here: https://bugs.gnu.org/40634#26 But there's a later patch dated April 19, which Norihiro Tanaka said should be more correct and simpler: https://bugs.gnu.org/40634#32 I'll try to take a look

Re: bug#40634: Massive pattern list handling with -E format seems very slow since 2.28.

2020-09-11 Thread Jim Meyering
On Fri, Sep 11, 2020 at 2:47 PM Jim Meyering wrote: > On Sun, Apr 19, 2020 at 4:10 AM Norihiro Tanaka wrote: > > On Sun, 19 Apr 2020 07:41:49 +0900 > > Norihiro Tanaka wrote: > > > On Sat, 18 Apr 2020 00:22:26 +0900 > > > Norihiro Tanaka wrote: > > > > > > > > > > > On Fri, 17 Apr 2020 10:24:42

Re: bug#40634: Massive pattern list handling with -E format seems very slow since 2.28.

2020-09-11 Thread Jim Meyering
On Sun, Apr 19, 2020 at 4:10 AM Norihiro Tanaka wrote: > On Sun, 19 Apr 2020 07:41:49 +0900 > Norihiro Tanaka wrote: > > On Sat, 18 Apr 2020 00:22:26 +0900 > > Norihiro Tanaka wrote: > > > > > > > > On Fri, 17 Apr 2020 10:24:42 +0900 > > > Norihiro Tanaka wrote: > > > > > > > > > > > On Fri, 17

Re: bug#40634: Massive pattern list handling with -E format seems very slow since 2.28.

2020-04-18 Thread Norihiro Tanaka
On Sun, 19 Apr 2020 07:41:49 +0900 Norihiro Tanaka wrote: > > On Sat, 18 Apr 2020 00:22:26 +0900 > Norihiro Tanaka wrote: > > > > > On Fri, 17 Apr 2020 10:24:42 +0900 > > Norihiro Tanaka wrote: > > > > > > > > On Fri, 17 Apr 2020 09:35:36 +0900 > > > Norihiro Tanaka wrote: > > > > > > >

Re: bug#40634: Massive pattern list handling with -E format seems very slow since 2.28.

2020-04-18 Thread Norihiro Tanaka
On Sat, 18 Apr 2020 00:22:26 +0900 Norihiro Tanaka wrote: > > On Fri, 17 Apr 2020 10:24:42 +0900 > Norihiro Tanaka wrote: > > > > > On Fri, 17 Apr 2020 09:35:36 +0900 > > Norihiro Tanaka wrote: > > > > > > > > On Thu, 16 Apr 2020 16:00:29 -0700 > > > Paul Eggert wrote: > > > > > > > On

Re: bug#40634: Massive pattern list handling with -E format seems very slow since 2.28.

2020-04-17 Thread Norihiro Tanaka
On Fri, 17 Apr 2020 10:24:42 +0900 Norihiro Tanaka wrote: > > On Fri, 17 Apr 2020 09:35:36 +0900 > Norihiro Tanaka wrote: > > > > > On Thu, 16 Apr 2020 16:00:29 -0700 > > Paul Eggert wrote: > > > > > On 4/16/20 3:53 PM, Norihiro Tanaka wrote: > > > > > > > I have had no idea to solve the

Re: bug#40634: Massive pattern list handling with -E format seems very slow since 2.28.

2020-04-16 Thread Norihiro Tanaka
On Fri, 17 Apr 2020 09:35:36 +0900 Norihiro Tanaka wrote: > > On Thu, 16 Apr 2020 16:00:29 -0700 > Paul Eggert wrote: > > > On 4/16/20 3:53 PM, Norihiro Tanaka wrote: > > > > > I have had no idea to solve the problem yet. If we revert it, bug#33357 > > > will come back. > > > > Yes, I'd ra