Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

MCE::Flow + Caching via File::Map

by marioroy (Prior)
on Apr 15, 2020 at 01:00 UTC ( [id://11115544]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    use strict;
    ...
    printf "Collatz(%5d) has sequence length of %3d steps\n", @$_
        for @seqs;
    
  2. or download this
    #!/usr/bin/env perl
    use strict;
    ...
    printf "Collatz(%5d) has sequence length of %3d steps\n", @$_
        for @seqs;
    
  3. or download this
    $ time perl collatz3_a.pl 1e7
    
    ...
    Collatz(8397953) has sequence length of 593 steps
    Collatz(6298465) has sequence length of 590 steps
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://11115544]
Front-paged by Discipulus
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: (3)
As of 2024-04-25 07:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found