proxy.golang.org : github.com/js-ojus/sparsebitset
Package sparsebitset is a simple implementation of sparse bitsets for non-negative integers. The representation is very simple, and uses a sequence of (offset, bits) pairs. It is similar to that of Go's `x/tools/container/intsets` and Java's `java.util.BitSet`. However, Go's package caters to negative integers as well, which I do not need. The original motivation for `sparsebitset` comes from a need to store custom indexes of documents in a database. Accordingly, `sparsebitset` trades CPU time for space.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/js-ojus/sparsebitset
License: Apache-2.0
Latest release: almost 10 years ago
First release: almost 10 years ago
Namespace: github.com/js-ojus
Stars: 7 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 10 days ago