- or download this
use strict;
use warnings;
...
for @seqs;
say {*STDERR} time - $t;
- or download this
1e7 testing
vr_pdl3: 46.328s cache
...
Collatz(5598635) has sequence length of 595 steps
Collatz(8397953) has sequence length of 593 steps
Collatz(6298465) has sequence length of 590 steps
- or download this
1e8 testing
vr_pdl3: 9m44.667s cache
...
Collatz(96060863) has sequence length of 736 steps
Collatz(46564287) has sequence length of 735 steps
Collatz(69846431) has sequence length of 733 steps
- or download this
8 cores
mce_pdl2 1e8 16.660s chunk_size => 300000
mce_pdl2 1e8 10.471s chunk_size => 100000
mce_pdl2 1e8 9.773s chunk_size => 50000