This commit is contained in:
Andy Arthur
2022-09-08 14:45:16 -07:00
parent 349e620817
commit 859f450fee
7 changed files with 2 additions and 1 deletions

View File

@@ -134,7 +134,7 @@ func memIterFromRange(list *skip.List, rng Range) *memRangeIter {
}
// skipSearchFromRange is a skip.SeekFn used to initialize
// a skip.List iterator for a given Range. The skip.SeekFn
// a skip.List iterator for a given Range. The skip.SearchFn
// returns true if the iter being initialized is not yet
// within the bounds of Range |rng|.
func skipSearchFromRange(rng Range) skip.SeekFn {

View File

@@ -58,6 +58,7 @@ type List struct {
type nodeId uint32
// tower is a multi-level skipNode pointer.
type tower [maxHeight + 1]nodeId
type skipNode struct {