Quite some time ago, "Cactus Kev" created a webpage about
his fast 5-card hand eval:
http://www.suffecool.net/poker/evaluator.html
It exploits the equivalence classes of poker hands, where
there are only 7462 distinct hand values. His indexing
function is primitive, but the potential for very fast
table-based evaluators is clear. The bottleneck is now
in computing the hash index, and the 2+2 thread offers
some clever tricks to do that in under 50 cycles per hand.
- Darse.
On 3-Jan-07, at 8:28 PM, Michael Maurer wrote:
> There is a fascinating thread on 2+2 about building the next
> generation of poker hand evaluators. Several posters have reported
> 7-card hand eval rates well over 100M hands per second. The
> approaches use "a lot" of memory, but nothing you would notice on your
> desktop box.
>
> The thread is here:
>
http://forumserver.twoplustwo.com/showflat.php?Number=8648777&fpart=all
>
> -Michael M
>
>
>
>
>
> Yahoo! Groups Links
>
>
>