MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / merge

Method merge

nodedb-columnar/src/delete_bitmap.rs:133–135  ·  view source on GitHub ↗

Merge another bitmap into this one (union). Used during compaction to combine delete bitmaps from multiple source segments.

(&mut self, other: &DeleteBitmap)

Source from the content-addressed store, hash-verified

131 /// Merge another bitmap into this one (union). Used during compaction
132 /// to combine delete bitmaps from multiple source segments.
133 pub fn merge(&mut self, other: &DeleteBitmap) {
134 self.inner |= &other.inner;
135 }
136}
137
138impl Default for DeleteBitmap {

Callers 1

merge_bitmapsFunction · 0.45

Calls

no outgoing calls

Tested by 1

merge_bitmapsFunction · 0.36