http://qs321.pair.com?node_id=1089917


in reply to Splitting large array for threads.

Chunking will definitely reduce the IPC overhead. If you are sure that none of the 4 million entries in the array is causing an error that makes your program stall then you can consider chunking.

The MCE module has a direct chukning implementation you might want to explore


Replies are listed 'Best First'.
Re^2: Splitting large array for threads.
by marioroy (Prior) on Dec 13, 2014 at 03:35 UTC
    Here is the link https://metacpan.org/pod/MCE

    MCE 1.513 was moved to backpan some time back.