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

Method iandNot

arraycontainer.go:701–711  ·  view source on GitHub ↗
(a container)

Source from the content-addressed store, hash-verified

699}
700
701func (ac *arrayContainer) iandNot(a container) container {
702 switch x := a.(type) {
703 case *arrayContainer:
704 return ac.iandNotArray(x)
705 case *bitmapContainer:
706 return ac.iandNotBitmap(x)
707 case *runContainer16:
708 return ac.iandNotRun16(x)
709 }
710 panic("unsupported container type")
711}
712
713func (ac *arrayContainer) iandNotRun16(rc *runContainer16) container {
714 // Fast path: if either the array container or the run container is empty, the result is the array.

Callers

nothing calls this directly

Calls 3

iandNotArrayMethod · 0.95
iandNotBitmapMethod · 0.95
iandNotRun16Method · 0.95

Tested by

no test coverage detected