Move Size handling out of Base

This commit is contained in:
kortschak 2014-07-30 12:14:46 +09:30
parent 525230206a
commit ee6d4c8db7
5 changed files with 17 additions and 5 deletions

View file

@ -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
}