http://qs1969.pair.com?node_id=11150044


in reply to Re^7: Script exponentially slower as number of files to process increases
in thread Script exponentially slower as number of files to process increases

Ran some more tests, your latest mceiter2.pl script is consistently faster (albeit by a small margin) than fork.pl, however the run time includes the output file merging which is a measurable gain.
  • Comment on Re^8: Script exponentially slower as number of files to process increases

Replies are listed 'Best First'.
Re^9: Script exponentially slower as number of files to process increases
by marioroy (Prior) on Jan 30, 2023 at 22:39 UTC

    So nice of you to write back. That script you linked to is quite efficient, considering it factors out entirely the manager process having to merge (now handled by the workers, cooperatively).