Subj : Re: texas holdem To : comp.programming From : cri Date : Thu Oct 06 2005 07:39 pm On 6 Oct 2005 10:17:47 -0700, bob@coolgroups.com wrote: >Actually, I'm doing the iterations wrong. I thought there were >50choose7 combos, but there are (50choose2)*(48choose5), which is 2 >billion. > >Anyone have any ideas for quickly processing 2 billion poker hands? Yes, don't do it. Treat flushes as a special case and then you only need to account for ranks. The details are left as a finger exercise for competent programmers. > Richard Harter, cri@tiac.net http://home.tiac.net/~cri, http://www.varinoma.com I started out in life with nothing. I still have most of it left. .