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

Method orBitmapContainer

runcontainer.go:2218–2221  ·  view source on GitHub ↗

orBitmapContainer finds the union of rc and bc.

(bc *bitmapContainer)

Source from the content-addressed store, hash-verified

2216
2217// orBitmapContainer finds the union of rc and bc.
2218func (rc *runContainer16) orBitmapContainer(bc *bitmapContainer) container {
2219 bc2 := newBitmapContainerFromRun(rc)
2220 return bc2.iorBitmap(bc)
2221}
2222
2223func (rc *runContainer16) andBitmapContainerCardinality(bc *bitmapContainer) int {
2224 answer := 0

Callers 4

orMethod · 0.95
iorMethod · 0.95
orMethod · 0.80
lazyORMethod · 0.80

Calls 2

iorBitmapMethod · 0.45

Tested by

no test coverage detected