in reply to Re: Fastest way to do permutations with replacement
in thread Fastest way to do permutations with replacement
Thanks Monks for the replies.
Algorithm::Combinatorics appears to do this with:
variations_with_repetition(\@data, $k)
which is probably the correct name for it.
As far as a brute force cracker goes, the question then might be: is it more efficient to use Alorithm::Combinatronics in XScode and no threading, or divide the namespace into slabs for each thread of an Algorithm::Loop threaded implementation.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Fastest way to do permutations with replacement
by wdef2 (Acolyte) on Apr 16, 2008 at 21:17 UTC |
In Section
Seekers of Perl Wisdom