Commit a8edaa30 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 5939d29c
...@@ -619,14 +619,14 @@ func (t *Tree) Set(k interface{} /*K*/, v interface{} /*V*/) { ...@@ -619,14 +619,14 @@ func (t *Tree) Set(k interface{} /*K*/, v interface{} /*V*/) {
pi := -1 pi := -1
var p *x var p *x
var dd *d // XXX naming var dd *d
// check if we can do the update nearby previous change // check if we can do the update nearby previous change
i, ok := t.hitFind(k) i, ok := t.hitFind(k)
if i >= 0 { if i >= 0 {
dd, p, pi = t.hit, t.hitP, t.hitPi dd, p, pi = t.hit, t.hitP, t.hitPi
// data page not found yet - search and descent // data page not quickly found - search and descent from root
} else { } else {
q := t.r q := t.r
if q == nil { if q == nil {
......
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