mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 09:37:16 +08:00
Rename TranspositionTable 'writes' in 'overwrites'
Better documents what that variable means. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
4
src/tt.h
4
src/tt.h
@@ -115,10 +115,10 @@ public:
|
||||
TTEntry* first_entry(const Key posKey) const;
|
||||
|
||||
private:
|
||||
// Be sure 'writes' is at least one cache line away
|
||||
// Be sure 'overwrites' is at least one cache line away
|
||||
// from read only variables.
|
||||
unsigned char pad_before[64 - sizeof(unsigned)];
|
||||
unsigned writes; // heavy SMP read/write access here
|
||||
unsigned overwrites; // heavy SMP read/write access here
|
||||
unsigned char pad_after[64];
|
||||
|
||||
size_t size;
|
||||
|
||||
Reference in New Issue
Block a user