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

Method getSizeInBytes

arraycontainer.go:93–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91}
92
93func (ac *arrayContainer) getSizeInBytes() int {
94 return ac.getCardinality() * 2
95}
96
97func (ac *arrayContainer) serializedSizeInBytes() int {
98 return ac.getCardinality() * 2

Callers

nothing calls this directly

Calls 1

getCardinalityMethod · 0.95

Tested by

no test coverage detected