Re: 7 Card Hand Evaluators
The reason to register. Thank you. I'd like to thank the guys at the UofA, poker source developers and the contributors in this thread.
Ran Ray Wotton's nested loop hand type enumeration test (TestHandRank.cpp) on a dual-core 2.00 GHz windows laptop. Compiled as a console application and with Maximize speed and Favor Fast Code compiler options in VS.Net 2005. Got some weird results:
BAD!! = 0
High Card = 23294460
Pair = 58627800
Two Pair = 31433400
Three of a Kind = 6461620
Straight = 6180020
Flush = 4047644
Full House = 3473184
Four of a Kind = 224848
Straight Flush = 41584
Total Hands = 133784560
Validation seconds = 1.0940
Total HighPrecision Clocks = 3923457
HighPrecision clocks per lookup = 0.029327
This is quite far from what I should be getting. Ideas?
|