[ Please 'bottom-post', i.e. type your reply below the quoted part of
the message you are replying to. Also, don't quote the whole message,
but only the part(s) needed for context. ]

C R wrote:
Gunnar Hjalmarsson wrote:
C R wrote:
Question2: is the "fork" function what I should use in order to
match a string with multiple expressions simultaneously?

Maybe, if the string is really, really log. You may e.g. want to check out the module Parallel::ForkManager.

Are you certain that using the module makes the simultaneous matching faster than a sequential and to what degree (roughly)?

Certain? Certainly not. :) It depends, among other things, on your systems ability to run parallel processes and on the size of the string you want to parse.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to