Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: I thought MCE::Map is faster than usual map. What am I missing?

by Anonymous Monk
on May 28, 2021 at 01:01 UTC ( #11133189=note: print w/replies, xml ) Need Help??


in reply to I thought MCE::Map is faster than usual map. What am I missing?

I thought MCE::Map is faster than usual map. What am I missing? Either I'm reading something wrong or my understanding is messed up.

Hi

How come why do you think MCE::Map supposed to be faster?

This is whatt MCE::Map says

This module provides a parallel map implementation via Many-Core Engine. MCE incurs a small overhead due to passing of data. A fast code block will run faster natively. However, the overhead will likely diminish as the complexity increases for the code. ...

The description continues with code examples with timings like you posted , how speed changes...

  • Comment on Re: I thought MCE::Map is faster than usual map. What am I missing?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2021-08-05 08:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My primary motivation for participating at PerlMonks is: (Choices in context)








    Results (44 votes). Check out past polls.

    Notices?