fix: remove item may changed clone btree; (i+1) children has new cow, but do not copy

Signed-off-by: zhangchuanqing1 <zhangchuanqing1@jd.com>
1 file changed
tree: 0bd699e6843a8afe2b63319820bede015e35699d
  1. .github/
  2. btree.go
  3. btree_generic.go
  4. btree_generic_test.go
  5. btree_mem.go
  6. btree_test.go
  7. go.mod
  8. LICENSE
  9. README.md
README.md

BTree implementation for Go

This package provides an in-memory B-Tree implementation for Go, useful as an ordered, mutable data structure.

The API is based off of the wonderful http://godoc.org/github.com/petar/GoLLRB/llrb, and is meant to allow btree to act as a drop-in replacement for gollrb trees.

See http://godoc.org/github.com/google/btree for documentation.