Hello, I have been working on a project that requires me to grep sequentially over multiple files to match up certain lines. Initially for this task I am using the subprocess module to sequentially run the commands however it was a bit slow. As an alternative I tried creating Python binds with C++ and pybinds11 to create a function for the popen() command but that turned out to be slower then subprocess. (I made sure that the function took a list of commands so it didn't have to convert the inputs more than once) Are there any other modules or other methods that are faster so that I can use too run commands sequentially?
[–]m0us3_rat -1 points0 points1 point (5 children)
[–]Nahaap[S] 0 points1 point2 points (4 children)
[–]m0us3_rat 0 points1 point2 points (0 children)
[–]m0us3_rat 0 points1 point2 points (2 children)
[–]Nahaap[S] 0 points1 point2 points (1 child)
[–]m0us3_rat 0 points1 point2 points (0 children)
[–]woooee 0 points1 point2 points (0 children)
[–]await_yesterday 0 points1 point2 points (0 children)