but these numbers can get large enough to require bigints. and bigints are slow enough to noticeably impact performance.my $perm = Permutation->new(\@data); my $count = $perm->cardinality; my $batches = 10; my $batch_num = 3; my $start = $count / $batches * $batch_num; $perm->state($start); $perm->run;
In reply to Re: Looking for combinatorics with state
by Anonymous Monk
in thread Looking for combinatorics with state
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |