|
Re: [pokersource] Question re: Omaha showdowns
> Do we have a code repository up yet? Is there a more elegant way of
> handling Omaha showdowns than examining SIXTY potential high hands and some
> number of lows approaching that?
>
Michael M. and Steven L. posted an idea for an optimization for the
low hand. The concept is that you can encode the hand in a byte
(bitmapped for each rank) and use that to index into a precomputed
array of results. Voila O(1) low determination.
I coded it up the hard way before being educated. Unfortuantely I
don't have time to code it up at the moment. If you do it might be
worthwhile to use the code I've produced to check the fast
implementation.
mph
|