Skip to content

Commit

Permalink
remove tt entry refresh during probing. bench 6434800
Browse files Browse the repository at this point in the history
  • Loading branch information
locutus2 committed Jul 17, 2017
1 parent e551afb commit fed2e5f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/tt.cpp
Expand Up @@ -78,12 +78,7 @@ TTEntry* TranspositionTable::probe(const Key key, bool& found) const {

for (int i = 0; i < ClusterSize; ++i)
if (!tte[i].key16 || tte[i].key16 == key16)
{
if ((tte[i].genBound8 & 0xFC) != generation8 && tte[i].key16)
tte[i].genBound8 = uint8_t(generation8 | tte[i].bound()); // Refresh

return found = (bool)tte[i].key16, &tte[i];
}

// Find an entry to be replaced according to the replacement strategy
TTEntry* replace = tte;
Expand Down

0 comments on commit fed2e5f

Please sign in to comment.