Skip to content

Commit dc2dd5b

Browse files
More docstring.
1 parent 7c7b78c commit dc2dd5b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

rtree/hilbert/tree.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,21 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17+
/*
18+
Package hilbert implements a Hilbert R-tree based on PALM principles
19+
to improve multithreaded performance. This package is not quite complete
20+
and some optimization and delete codes remain to be completed.
21+
22+
This serves as a potential replacement for the interval tree and
23+
rangetree.
24+
25+
Benchmarks:
26+
BenchmarkBulkAddPoints-8 500 2589270 ns/op
27+
BenchmarkBulkUpdatePoints-8 2000 1212641 ns/op
28+
BenchmarkPointInsertion-8 200000 9135 ns/op
29+
BenchmarkQueryPoints-8 500000 3122 ns/op
30+
31+
*/
1732
package hilbert
1833

1934
import (

0 commit comments

Comments
 (0)