MCPcopy Index your code
hub / github.com/RoaringBitmap/roaring / lazyIORBitmap

Method lazyIORBitmap

bitmapcontainer.go:680–687  ·  view source on GitHub ↗
(value2 *bitmapContainer)

Source from the content-addressed store, hash-verified

678}
679
680func (bc *bitmapContainer) lazyIORBitmap(value2 *bitmapContainer) container {
681 answer := bc
682 for k := 0; k < len(answer.bitmap); k++ {
683 answer.bitmap[k] = bc.bitmap[k] | value2.bitmap[k]
684 }
685 bc.cardinality = invalidCardinality
686 return answer
687}
688
689func (bc *bitmapContainer) lazyORBitmap(value2 *bitmapContainer) container {
690 answer := bc.clone().(*bitmapContainer)

Callers 2

lazyIORMethod · 0.95
lazyORBitmapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected