MCPcopy
hub / github.com/RoaringBitmap/roaring / iandNotArray

Method iandNotArray

runcontainer.go:2648–2658  ·  view source on GitHub ↗
(ac *arrayContainer)

Source from the content-addressed store, hash-verified

2646}
2647
2648func (rc *runContainer16) iandNotArray(ac *arrayContainer) container {
2649 rcb := rc.toBitmapContainer()
2650 acb := ac.toBitmapContainer()
2651 rcb.iandNotBitmapSurely(acb)
2652 answer := rcb.toEfficientContainer()
2653 if runrc, ok := answer.(*runContainer16); ok {
2654 *rc = *runrc
2655 return rc
2656 }
2657 return answer
2658}
2659
2660func (rc *runContainer16) iandNotBitmap(bc *bitmapContainer) container {
2661 rcb := rc.toBitmapContainer()

Callers 1

iandNotMethod · 0.95

Calls 3

toBitmapContainerMethod · 0.95
iandNotBitmapSurelyMethod · 0.80
toEfficientContainerMethod · 0.65

Tested by

no test coverage detected