Skip to content

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

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages