Re: [PATCH v4 2/8] grep: skip pthreads overhead when using one thread
From: Stefan Beller <hidden>
Date: 2017-06-01 21:45:13
From: Stefan Beller <hidden>
Date: 2017-06-01 21:45:13
I didn't mean to change this bit, it should remain "if (!num_threads)". I was in the middle of monkeypatching and didn't review the diff carefully enough. But it any case, without this change the rest of this diff is your proposed (but segfaulting) change as I understand it.
Sorry for the proposing a sloppy alternative. (I missed one occurrence of num_threads used in a conditional). I think the original is still better than littering comments everywhere.