Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: Optimizing with Caching vs. Parallelizing (MCE::Map) (Better caching?)

by vr (Curate)
on Apr 08, 2020 at 21:40 UTC ( [id://11115238]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Time::HiRes 'time';
    my $t = time;
    ...
    3.33010196685791
    8.4802930355072
    
  2. or download this
    _cache_collatz( $_ ) for 1 .. 1e6;
    say scalar %cache;
    ...
    2168611
    2168611
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-19 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found