all possible combinations

Erik Max Francis max at alcyone.com
Thu Jul 14 17:13:17 EDT 2005


William Park wrote:

> Since you're doing cross product (ie. 3*3*3*3), manual loop of 4 level
> deep would be the fastest in terms of algorithm.

That's a Cartesian product, actually :-).

-- 
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
   All generalizations are dangerous, even this one.
   -- Dumas Fils



More information about the Python-list mailing list