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.