Perl Monk, Perl Meditation | |
PerlMonks |
Re^5: Efficient Unique Nested Combinationsby Moron (Curate) |
on Jun 28, 2007 at 11:29 UTC ( [id://623854]=note: print w/replies, xml ) | Need Help?? |
No I meant to just iterate nested next-combinations but it comes to my attention that actually both loops were degenerate (nCn and nC1) so that M::C would be doing nothing more than returning next elements in arrays, which might as well be handrolled anyway. To assure unique selections from inner arrays, the OPs hash idea seems now as good as any.
In Section
Seekers of Perl Wisdom
|
|