Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1090072]
[Discipulus]: damn I missed a possible employer for seconds..

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2018-04-20 19:00 GMT
Find Nodes?
    Voting Booth?