Registry / utility / dghubble-trie

dghubble-trie

JSON →
library0.1.0gogounverified

Package trie implements a trie data structure in Go for efficient prefix-based string operations.

go get github.com/dghubble/trie
INSTALL
IMPORT
SIG · DGHUBBLE-TRIE
D
dghubble-trie
utilitygov0.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

trie
github.com/dghubble/trie

Insert and retrieve a value from a trie

package main import ( "fmt" "github.com/dghubble/trie" ) func main() { t := trie.NewRuneTrie() t.Put("hello", 1) val, _ := t.Get("hello") fmt.Println(val) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
dghubble-trie — go get dghubble-trie · libregistry