in reply to Looking for combinatorics with state

i imagine this feature could be used like this:
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;
but these numbers can get large enough to require bigints. and bigints are slow enough to noticeably impact performance.