Skip to content

A library for the tree-structure topics manager in Go with zero memory allocations.

License

Notifications You must be signed in to change notification settings

TheSmallBoat/cabinet

Repository files navigation

cabinet

A library for the tree-structure topics manager in Go with zero memory allocations.

% sysctl -a | grep machdep.cpu | grep 'brand_'
machdep.cpu.brand_string: Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz

% go test -bench=. -benchtime=10s
goos: darwin
goarch: amd64
pkg: github.com/TheSmallBoat/cabinet
BenchmarkTopicNode-4    1000000000               0.529 ns/op           0 B/op          0 allocs/op
BenchmarkTopicTree-4    1000000000               0.481 ns/op           0 B/op          0 allocs/op
PASS
ok      github.com/TheSmallBoat/cabinet 8.803s

About

A library for the tree-structure topics manager in Go with zero memory allocations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages