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

Method Minimum

roaring64/roaring64.go:294–296  ·  view source on GitHub ↗

Minimum get the smallest value stored in this roaring bitmap, assumes that it is not empty

()

Source from the content-addressed store, hash-verified

292
293// Minimum get the smallest value stored in this roaring bitmap, assumes that it is not empty
294func (rb *Bitmap) Minimum() uint64 {
295 return uint64(rb.highlowcontainer.containers[0].Minimum()) | (uint64(rb.highlowcontainer.keys[0]) << 32)
296}
297
298// Maximum get the largest value stored in this roaring bitmap, assumes that it is not empty
299func (rb *Bitmap) Maximum() uint64 {

Callers 2

TestFirstLastFunction · 0.45
Test64BitValuesFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestFirstLastFunction · 0.36
Test64BitValuesFunction · 0.36