bug#60506: feature: parallel grep --recursive

2023-01-02 Thread Eike Dierks
Hi at the gnu grep development team I'd like to suggest a new feature for: grep --recursive The grep --recursive should work in parallel. Rational: This could speed up the grep by the numbers of threads Currently, the --recursive option works on every file in sequence. Instead, I want to start

bug#60506: feature: parallel grep --recursive

2023-01-02 Thread Paul Jackson
There's no need for special logic in grep to run parallel grep's. The "parallel" command can handle that for you. For example, on the 12 core, 24 thread Ryzen CPU that I am using: find $HOME -xdev -type f -ctime -333 | wc -l ## counts 136126 files. find $HOME -xdev -type f -ctime -333 |

bug#60506: feature: parallel grep --recursive

2023-01-02 Thread Paul Eggert
On 2023-01-02 18:34, Paul Jackson wrote: There's no need for special logic in grep to run parallel grep's. There might be, if one wants to use a parallel grep to search a single large file.

bug#60506: feature: parallel grep --recursive

2023-01-02 Thread Paul Jackson
<< a parallel grep to search a single large file >> I'm but one user, and a rather idiosyncratic user at that, but for my usage patterns, the specialized logic that it would take to run a parallelized grep on a large file would likely not shrink the elapsed time enough to justify the coding, docum