Re: fixed list combinatorics
- From: fxn@xxxxxxxxxxx (Xavier Noria)
- Date: Wed, 28 Nov 2007 22:37:53 +0100
On Nov 28, 2007, at 9:54 PM, Xavier Noria wrote:
On Nov 28, 2007, at 8:58 PM, yitzle wrote:
In a personal email conversation, he realized what he was actually
looking for is the power set.
List::PowerSet
http://search.cpan.org/~nikc/List-PowerSet-0.01/lib/List/PowerSet.pm
If speed is an issue Algorith::Combinatorics provides subsets() in XS:
I had done some benchmarks which are included in the distribution but not this one.
I've found that List::PowerSet outperforms Algorithm::Combinatorics' subset(). Time to revise that subroutine.
-- fxn
.
- Follow-Ups:
- Re: fixed list combinatorics
- From: Xavier Noria
- Re: fixed list combinatorics
- References:
- fixed list combinatorics
- From: Dan Klose
- Re: fixed list combinatorics
- From: Dr.Ruud
- Re: fixed list combinatorics
- From: Yitzle
- Re: fixed list combinatorics
- From: Xavier Noria
- fixed list combinatorics
- Prev by Date: RE: How to add commas to a number?
- Next by Date: Re: Time Comparison Easier Than I'm Making them
- Previous by thread: Re: fixed list combinatorics
- Next by thread: Re: fixed list combinatorics
- Index(es):