in reply to Re: An efficient way to parallelize loops
in thread An efficient way to parallelize loops
Hi javaFan
Thanks for your help. The patterns are not complex, but long, since they're made of all the elements of long arrays, separated by "|" (with the intent of alternatively match different patterns).
As you suggested before, I already precompile the regex with qr// operator, which already sped up the code.
I'll try to swap the loops, though, to see if there's any improvement, and I'll do some profiling as well.
Many thanks again for your help!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: An efficient way to parallelize loops
by moritz (Cardinal) on Jun 01, 2010 at 11:36 UTC | |
by Deus Ex (Scribe) on Jun 01, 2010 at 12:48 UTC |