From e6a88852b3bd071b07057a349f494cda2e765fd7 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Mon, 4 Mar 2024 16:47:30 -0800 Subject: [PATCH] Add comment explaining interface of maxBetweenExclusive --- ConflictSet.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ConflictSet.cpp b/ConflictSet.cpp index 558ee68..49783fc 100644 --- a/ConflictSet.cpp +++ b/ConflictSet.cpp @@ -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) { assert(-1 <= begin); assert(begin <= 256);