|
|
|
|
|
by throwaway0094
4563 days ago
|
|
> Its been tuned over years for use in competitions. So it probably runs faster than the author's, even though it has more features. For OP's use case, which appears to have a max depth of maybe 3, invoking a shell program is going to be a LOT slower than just running the search. No matter how slowly it is implemented. |
|
You are basically saying the whole UNIX philosophy of specialised reusable programs chained together is a flawed design.
Spawning a program is not slow. Store the programs file arguments on a ramdisk to avoid disk IO and there will be no noticeable overhead.