improve cost of bolt iterator
This commit is contained in:
parent
3b0110b226
commit
f4f0af4f53
1 changed files with 1 additions and 1 deletions
|
|
@ -314,7 +314,7 @@ func (it *Iterator) Stats() graph.IteratorStats {
|
||||||
s, _ := it.Size()
|
s, _ := it.Size()
|
||||||
return graph.IteratorStats{
|
return graph.IteratorStats{
|
||||||
ContainsCost: 1,
|
ContainsCost: 1,
|
||||||
NextCost: 2,
|
NextCost: 4,
|
||||||
Size: s,
|
Size: s,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue