Skip to content

Commit

Permalink
Merge branch 'main' into absl
Browse files Browse the repository at this point in the history
  • Loading branch information
absolutelightning committed May 28, 2024
2 parents 0fd1cff + 3cc81b5 commit 6e0b00e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ func (t *RadixTree[T]) Delete(key []byte) (*RadixTree[T], T, bool) {
func (t *RadixTree[T]) iterativeSearch(key []byte) (T, bool, <-chan struct{}) {
var zero T
n := t.root
n.processLazyRef()
n.incrementLazyRefCount(1)
watch := n.getMutateCh()
if t.root == nil {
Expand Down Expand Up @@ -208,7 +207,6 @@ func (t *RadixTree[T]) iterativeSearch(key []byte) (T, bool, <-chan struct{}) {
}
n.incrementLazyRefCount(-1)
n = child
n.processLazyRef()
n.incrementLazyRefCount(1)
depth++
}
Expand Down

0 comments on commit 6e0b00e

Please sign in to comment.