Removing several unnecessary allocations.
This commit is contained in:
1 parent
a87a12e8b0
commit
6f290be894
9 files changed
+35
-76
No files matched your search
@@ -31,18 +31,14 @@
|
||||
class CardsValue
|
||||
{
|
||||
public:
|
||||
CardsValue();
|
||||
static int holeCardsClass(int, int);
|
||||
static int cardsValue(int*, int*);
|
||||
|
||||
~CardsValue();
|
||||
static int holeCardsToIntCode(int*);
|
||||
static int* intCodeToHoleCards(int);
|
||||
|
||||
int holeCardsClass(int, int) const;
|
||||
int cardsValue(int*, int*) const;
|
||||
|
||||
int holeCardsToIntCode(int*) const;
|
||||
int* intCodeToHoleCards(int) const;
|
||||
|
||||
std::vector< std::vector<int> > calcCardsChance(GameState, int*, int*) const;
|
||||
//int** showdown(GameState, int**, int);
|
||||
static std::vector< std::vector<int> > calcCardsChance(GameState, int*, int*);
|
||||
//static int** showdown(GameState, int**, int);
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user