Commit c2d31c88 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 21149d88
......@@ -332,6 +332,7 @@ func (δBtail *ΔBtail) Track(ctx context.Context, key Key, keyPresent bool, pat
}
}
/* XXX kill
// tracked += all keys of leaf bucket for every node up to the root
fmt.Printf(" oldTrack: %v leafBucket: %v\n", oldTrack, leafBucket)
if !oldTrack && leafBucket != nil {
......@@ -356,7 +357,6 @@ func (δBtail *ΔBtail) Track(ctx context.Context, key Key, keyPresent bool, pat
leafBucket = treeRoot.Entryv()[0].Child().(*Bucket) // because it is recreated
}
/*
bkeys := SetKey{}
for _, __ := range leafBucket.Entryv() {
bkeys.Add(__.Key())
......@@ -370,8 +370,8 @@ func (δBtail *ΔBtail) Track(ctx context.Context, key Key, keyPresent bool, pat
}
track = δBtail.trackIdx[track.parent]
}
*/
}
*/
_, ok := δBtail.byRoot[root]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment