google / btree

BTree provides a simple, ordered, in-memory data structure for Go programs.
Apache License 2.0
3.9k stars 414 forks source link

Add a Clear method that clears all nodes into a freelist. #21

Closed gconnell closed 6 years ago

gconnell commented 6 years ago

Note: this is inspired entirely by https://github.com/google/btree/pull/20