Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Splitting large array for threads.

by perlfan (Curate)
on Jun 16, 2014 at 20:49 UTC ( #1090072=note: print w/ replies, xml ) Need Help??

in reply to Splitting large array for threads.

I would get working your serial version of the code before you create a threaded version of what you wish to do.

Once you do this, you can think about how it makes most sense to split the work amongst your threads.

If your input file is indeed an array, perhaps even of numbers, then I would consider looking at the various options and interfaces the Perl Data Language gives you.

You may also want to consider using a truly threaded Perl like language like Qore if you wish to do things in a more native way. I have a talk linked via perlfan for it as it relates to Perl programmers.

Comment on Re: Splitting large array for threads.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2015-11-28 20:49 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (744 votes), past polls