Skip to content

Commit

Permalink
A bit cleanup and refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
xichen2020 committed Jan 14, 2019
1 parent a28a7f8 commit c0f1200
Show file tree
Hide file tree
Showing 3 changed files with 268 additions and 341 deletions.
1 change: 1 addition & 0 deletions query/raw_result.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ func NewRawResultHeap(
}
}

// Data returns the underlying array backing the heap.
func (h RawResultHeap) Data() []RawResult { return h.dv }

// Min returns the "smallest" heap element according to the `lessThan` function.
Expand Down
Loading

0 comments on commit c0f1200

Please sign in to comment.