On Thu, 12 Jul 2007 21:33:11 -0700, Arash Arfaee wrote 
> I need a powerset generator function. It's really slow with recursion. Does
anybody have any idea or code(!!) to do it in an acceptable time? 

1) Don't use recursion.

2) Google is your friend.

-Carsten

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to