bptree:纯 Go 中的 B+ 树

时间:2021-06-11 06:29:43
【文件属性】:
文件名称:bptree:纯 Go 中的 B+ 树
文件大小:18KB
文件格式:ZIP
更新时间:2021-06-11 06:29:43
Go bptree bptree 是一个纯粹的 Go B+ 树实现。 该项目最初是C 实现的 Go 副本。 该项目的目标是维护一个带有简洁 API 的小型 B+ 树,以用于组合更复杂的系统。 项目路线图 请提交您希望在此包中看到的任何其他内容的问题/PR。 入门 安装 要开始使用 bptree,请安装 Go 并运行go get $ go get github.com/collinglass/bptree 这将检索库,您的项目现在可以使用 bptree。 例子 package main import ( "fmt" "github.com/collinglass/bptree" ) func main() { key := 1 value := []byte("hello friend") t := bptree.NewTree() err := t.Insert(key, v
【文件预览】:
bptree-master
----example()
--------example.go(379B)
----tree_benchmark_test.go(1KB)
----LICENSE(34KB)
----tree.go(16KB)
----tree_test.go(7KB)
----README.md(2KB)

网友评论