Add comment explaining interface of maxBetweenExclusive

This commit is contained in:
2024-03-04 16:47:30 -08:00
parent b97f611a3c
commit e6a88852b3
+2
View File
@@ -1010,6 +1010,8 @@ downLeftSpine:
} }
} }
// Return the max version among all keys starting with the search path of n +
// [child], where child in (begin, end)
int64_t maxBetweenExclusive(Node *n, int begin, int end) { int64_t maxBetweenExclusive(Node *n, int begin, int end) {
assert(-1 <= begin); assert(-1 <= begin);
assert(begin <= 256); assert(begin <= 256);