in reply to Re: An efficient way to parallelize loops
in thread An efficient way to parallelize loops
Hi BrowserUK
There are plenty of regexes. Say, at least 30. Each of them made like this:
Note that there are many of 'records' keys.... records => [ 'MDR', 'TCBMDR', 'INSS7MDR', 'TCBINSS7MDR' ], ... for ( my $i = 0; $i < scalar @{$categories{$k}->{tracciati}}; $i++ ) { my $TestReStr = join("|", map { "${_}" } @{$categories +{$k}->{traces}[$i]->{records}} ); $categories{$k}->{traces}[$i]->{regex} = qr/$TestReStr +/; }
I would really like to upgrade to a higher version than 5.8.0, but it's not really possible, due to the fact that the sysadmins don't do that on this machines.
Thanks for your help though
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: An efficient way to parallelize loops
by BrowserUk (Patriarch) on Jun 03, 2010 at 22:27 UTC | |
by Deus Ex (Scribe) on Jun 04, 2010 at 06:36 UTC |