Use single &, to show branch-free intent
This commit is contained in:
@@ -1730,7 +1730,7 @@ bool checkMaxBetweenExclusive(Node *n, int begin, int end,
|
||||
if (self->maxOfMax[i] > readVersion) {
|
||||
for (int j = 0; j < Node48::kMaxOfMaxPageSize; ++j) {
|
||||
int k = (i << Node48::kMaxOfMaxShift) + j;
|
||||
result &= !(self->children[k].childMaxVersion > readVersion &&
|
||||
result &= !((self->children[k].childMaxVersion > readVersion) &
|
||||
inBounds(self->reverseIndex[k]));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user