Top 0.3% dependent packages on proxy.golang.org
Top 0.3% dependent repos on proxy.golang.org
Top 4.0% forks on proxy.golang.org
Top 0.4% docker downloads on proxy.golang.org
proxy.golang.org : github.com/couchbase/vellum
Package vellum is a library for building, serializing and executing an FST (finite state transducer). There are two distinct phases, building an FST and using it. When building an FST, you insert keys ([]byte) and their associated value (uint64). Insert operations MUST be done in lexicographic order. While building the FST, data is streamed to an underlying Writer. At the conclusion of building, you MUST call Close() on the builder. After completion of the build phase, you can either Open() the FST if you serialized it to disk. Alternatively, if you already have the bytes in memory, you can use Load(). By default, Open() will use mmap to avoid loading the entire file into memory. Once the FST is ready, you can use the Contains() method to see if a keys is in the FST. You can use the Get() method to see if a key is in the FST and retrieve it's associated value. And, you can use the Iterator method to enumerate key/value pairs within a specified range.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/couchbase/vellum
License: Apache-2.0
Latest release: over 4 years ago
First release: over 5 years ago
Namespace: github.com/couchbase
Dependent packages: 283
Dependent repositories: 710
Stars: 490 on GitHub
Forks: 35 on GitHub
Docker dependents: 54
Docker downloads: 8,453,958
See more repository details: repos.ecosyste.ms
Last synced: 1 day ago