mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-05-09 16:17:48 +08:00
13 lines
506 B
Go
13 lines
506 B
Go
// Package cedar-go implements double-array trie.
|
|
//
|
|
// It is a golang port of cedar (http://www.tkl.iis.u-tokyo.ac.jp/~ynaga/cedar) which is written in C++ by Naoki Yoshinaga.
|
|
// Currently cedar-go implements the `reduced` verion of cedar.
|
|
// This package is not thread safe if there is one goroutine doing
|
|
// insertions or deletions.
|
|
//
|
|
// Note
|
|
//
|
|
// key must be `[]byte` without zero items,
|
|
// while value must be integer in the range [0, 2<<63-2] or [0, 2<<31-2] depends on the platform.
|
|
package cedar
|