mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 12:07:43 +00: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:
@@ -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