Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: Forking Multiple Regex's on a Single String

by GrandFather (Saint)
on Aug 19, 2006 at 23:17 UTC ( [id://568403]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Forking Multiple Regex's on a Single String
in thread Forking Multiple Regex's on a Single String

I don't know how the module may be implemented on Windows. However I do know that Windows is happy to allocate threads for the same process to different CPUs. There are other issues with fork under Windows that may incure a startup cost per fork, but shouldn't make much difference during the subsequent execution of the forked process.


DWIM is Perl's answer to Gödel
  • Comment on Re^4: Forking Multiple Regex's on a Single String

Replies are listed 'Best First'.
Re^5: Forking Multiple Regex's on a Single String
by tilly (Archbishop) on Aug 20, 2006 at 17:35 UTC
    It is good to know that Windows will allocate threads for the same process to different CPUs.

    As for the other issues, since the strategy that I was suggesting involved lots of forks, that startup cost is relevant.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://568403]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-25 12:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found