At 06:50 PM 31-05-00 -0700, mph@... wrote:
> > 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.
16 bits (8 bits for board low values and 8 bits for hand low values)
can index into the table. Also, if the board contains insufficient
low cards, that can be pre-flagged if lots of hands are going to be
compared to the same board.