> Regarding an omaha 8-or-better low evaluator... I am always one
> to be profligate with memory or startup time when speed is
> desired. A simple 8-bit plus 8-bit lookup table (2^16 entries)
> should do the trick, with one octet representing the board
> A2345678 bitmask and the other representing the hole card
> A2345678 bitmask. There are only 8-choose-5 = 56 possible low
> hands, meaning that 1 byte is plenty for each element -- and with
> 8 bits an element could even encode the resulting low ranks
> directly.
> -Michael M
Those numbers unfortunately get bigger quickly when you account
for O/9 which is still played some places in California. Still,
I suppose it's still worthwhile to special-case O/8 and let us
oddballs use the slow code.
--
Lee Daniel Crocker <lee@...> <http://www.piclab.com/lcrocker.html>
"All inventions or works of authorship original to me, herein and past,
are placed irrevocably in the public domain, and may be used or modified
for any purpose, without permission, attribution, or notification."--LDC