Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: Generate all unique combinations of 1 and 0 using specified length of "0"-string and count of 1'sby Tux (Canon) |
on Sep 18, 2020 at 12:22 UTC ( [id://11121917]=note: print w/replies, xml ) | Need Help?? |
This one ends up somewhere in the middle:
This one is 1200 x faster than Discipulus, but still 1200 x slower than the rest:
Enjoy, Have FUN! H.Merijn
In Section
Seekers of Perl Wisdom
|
|