Gunnar Hjalmarsson <[EMAIL PROTECTED]> 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. I have an average personal computer. At the moment the size of the string can get up to about 600.000 characters, but in the future it will get much larger than 100 MB. -- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
