Move Size handling out of Base
This commit is contained in:
parent
525230206a
commit
ee6d4c8db7
5 changed files with 17 additions and 5 deletions
|
|
@ -151,3 +151,8 @@ func (it *Optional) Stats() graph.IteratorStats {
|
|||
Size: subStats.Size,
|
||||
}
|
||||
}
|
||||
|
||||
// If you're empty and you know it, clap your hands.
|
||||
func (it *Optional) Size() (int64, bool) {
|
||||
return 0, true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue