I just ran the above code with arrays A & B containing 100,000 values each. It completed in a little over half a second
C:\test>920533 >920533.obig Took 0.609000 seconds C:\test>wc -l 920533.obig 100000 920533.obig
What made you think you needed to use multiprocessing to meet your 30 second target time?
In reply to Re^10: Parallel::ForkManager is time consuming...takes too long
by BrowserUk
in thread Parallel::ForkManager is time consuming...takes too long
by esolkc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |