MCPcopy Create free account
hub / github.com/RoaringBitmap/roaring / FromBitSet

Function FromBitSet

roaring.go:441–443  ·  view source on GitHub ↗

FromBitSet creates a new RoaringBitmap from a bitset.BitSet instance

(bitset *bitset.BitSet)

Source from the content-addressed store, hash-verified

439
440// FromBitSet creates a new RoaringBitmap from a bitset.BitSet instance
441func FromBitSet(bitset *bitset.BitSet) *Bitmap {
442 return FromDense(bitset.Bytes(), false)
443}
444
445// ToArray creates a new slice containing all of the integers stored in the Bitmap in sorted order
446func (rb *Bitmap) ToArray() []uint32 {

Callers 1

TestFromBitSetFunction · 0.85

Calls 1

FromDenseFunction · 0.85

Tested by 1

TestFromBitSetFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…