mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 17:46:26 +08:00
Revert "Cache line aligned TT"
This reverts commit 083fe58124
It seems to break Android build
No functional change.
This commit is contained in:
3
src/tt.h
3
src/tt.h
@@ -85,7 +85,7 @@ class TranspositionTable {
|
||||
static const unsigned ClusterSize = 4; // A cluster is 64 Bytes
|
||||
|
||||
public:
|
||||
~TranspositionTable() { free(mem); }
|
||||
~TranspositionTable() { delete [] table; }
|
||||
void new_search() { generation++; }
|
||||
|
||||
TTEntry* probe(const Key key) const;
|
||||
@@ -98,7 +98,6 @@ public:
|
||||
private:
|
||||
uint32_t hashMask;
|
||||
TTEntry* table;
|
||||
void* mem;
|
||||
uint8_t generation; // Size must be not bigger then TTEntry::generation8
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user