Fast powerset function

Arash Arfaee Arash at ece.ucsb.edu
Fri Jul 13 00:33:11 EDT 2007


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?
Thanks
-Arash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070712/40fd75b1/attachment.html>


More information about the Python-list mailing list