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

Method iorBitmap

arraycontainer.go:422–429  ·  view source on GitHub ↗

Note: such code does not make practical sense, except for lazy evaluations

(bc2 *bitmapContainer)

Source from the content-addressed store, hash-verified

420
421// Note: such code does not make practical sense, except for lazy evaluations
422func (ac *arrayContainer) iorBitmap(bc2 *bitmapContainer) container {
423 bc1 := ac.toBitmapContainer()
424 bc1.iorBitmap(bc2)
425 // DO NOT DO THIS:
426 // *ac = *newArrayContainerFromBitmap(bc1)
427 // This will create gigantic array containers in the case of repeated calls to iorBitmap.
428 return bc1
429}
430
431func (ac *arrayContainer) iorRun16(rc *runContainer16) container {
432 runCardinality := rc.getCardinality()

Callers 2

lazyIorBitmapMethod · 0.95
orBitmapContainerMethod · 0.45

Calls 1

toBitmapContainerMethod · 0.95

Tested by

no test coverage detected