in reply to Re: Native Map faster than MCE::Map.
in thread Native Map faster than MCE::Map.

Sure, I will use the code tag next time.

As for the heavier workload, if I use a higher number, the program is "killed" by the OS (with or without MCE::Map). So not sure how to generate a "heavier" work load. Any pointers would be helpful.

Replies are listed 'Best First'.
Re^3: Native Map faster than MCE::Map.
by LanX (Saint) on Jun 21, 2021 at 16:42 UTC
    The job has to be heavier not the number of jobs.

    $_ * $_ is simply to fast to justify the overhead.

    Please read the thread I linked to AND the documentation of MCE::Map !

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery