http://www.perlmonks.org?node_id=576200


in reply to Re: Powerset short-circuit optimization
in thread Powerset short-circuit optimization

ikegami,
This is the approach I previously discussed in the CB with jdporter and blokhead. The undesireable aspect is that _r() is called 29 times to yield 15 items for A,B,C,D instead of just 15. I am not sure there is a way around this but that's why I posted it.

Cheers - L~R