4 ms·
In practice, I believe most fast hand value evaluators just use a lookup table, treating each hand as a 52 bit (or 64 with 12 wasted bits, most likely) bitset w
by splonk 9y ago
In practice, I believe most fast hand value evaluators just use a lookup table, treating each hand as a 52 bit (or 64 with 12 wasted bits, most likely) bitset with 5 bits set to 1 to indicate the cards.