Skip to content

Commit 1a31fa1

Browse files
committed
use skipping
1 parent 9a2a86c commit 1a31fa1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frac/processor/aggregator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ func NewSourcedNodeIterator(sourced node.Sourced, ti tokenIndex, tids []uint32,
406406

407407
func (s *SourcedNodeIterator) ConsumeTokenSource(lid uint32) (uint32, bool, error) {
408408
for s.has && s.less(s.lastID, lid) {
409-
s.lastID, s.lastSource, s.has = s.sourcedNode.NextSourced()
409+
s.lastID, s.lastSource, s.has = s.sourcedNode.NextSourcedGeq(lid)
410410
}
411411

412412
exists := s.has && s.lastID == lid

0 commit comments

Comments
 (0)