Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Splitting large array for threads.

by biohisham (Priest)
on Jun 15, 2014 at 04:22 UTC ( #1089917=note: print w/replies, xml ) Need Help??


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 (Parson) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1089917]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2021-10-26 16:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (90 votes). Check out past polls.

    Notices?