fix and iterator, add some logging, and reenable
This commit is contained in:
parent
99d44e3228
commit
b6d966e9b5
3 changed files with 33 additions and 16 deletions
|
|
@ -70,7 +70,7 @@ func (it *And) Optimize() (graph.Iterator, bool) {
|
|||
// now a permutation of itself, but the contents are unchanged.
|
||||
its = optimizeOrder(its)
|
||||
|
||||
//its = materializeIts(its)
|
||||
its = materializeIts(its)
|
||||
|
||||
// Okay! At this point we have an optimized order.
|
||||
|
||||
|
|
@ -327,7 +327,7 @@ func (it *And) Stats() graph.IteratorStats {
|
|||
}
|
||||
}
|
||||
return graph.IteratorStats{
|
||||
ContainsCost: ContainsCost,
|
||||
ContainsCost: ContainsCost * 2,
|
||||
NextCost: NextCost,
|
||||
Size: Size,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue