Commit ccac4d70 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 38d47c62
...@@ -264,9 +264,10 @@ func (δΒtail *ΔTail) Get(root *Tree, key Key, at zodb.Tid) (value Value, ok b ...@@ -264,9 +264,10 @@ func (δΒtail *ΔTail) Get(root *Tree, key Key, at zodb.Tid) (value Value, ok b
// XXX key not tracked -> panic // XXX key not tracked -> panic
// XXX at not ∈ (tail, head] -> panic // XXX at not ∈ (tail, head] -> panic
// XXX dirty -> rebuild // FIXME stub -> that only ZBlk.rev is used
return @head, rev=.Tail(), revExact=false
// XXX stub -> that only ZBlk.rev is used // XXX dirty -> rebuild
// XXX -> index lastXXXOf(key) | linear scan ↓ looking for change <= at // XXX -> index lastXXXOf(key) | linear scan ↓ looking for change <= at
δTtail := δΒtail.byRoot[root] δTtail := δΒtail.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