forked from google/btree
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation fixes, small insert optimization.
Most of this is finicky documentation/comment fixes. However, we've also changed slice insertion to use copy() instead of a manual for-loop approach. That's sped up the insert benchmark by over 15%, which is pretty nice :)
- Loading branch information
Showing
2 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# BTree implementation for Go | ||
|
||
This package provides an in-memory BTree implementation for Go, useful as a | ||
This package provides an in-memory B-Tree implementation for Go, useful as a | ||
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 llrb trees. | ||
act as a drop-in replacement for gollrb trees. | ||
|
||
See http://godoc.org/github.com/google/btree for documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters