These methods relate to choosing the right iterator, or optimizing an iterator tree Stats() returns the relative costs of calling the iteration methods for this iterator, as well as the size. Roughly, it will take NextCost * Size "cost units" to get everything out of the iterator. This is a wibbly-
()
| 115 | // "cost units" to get everything out of the iterator. This is a wibbly-wobbly |
| 116 | // thing, and not exact, but a useful heuristic. |
| 117 | Stats() IteratorStats |
| 118 | |
| 119 | // Helpful accessor for the number of things in the iterator. The first return |
| 120 | // value is the size, and the second return value is whether that number is exact, |
no outgoing calls