MCPcopy Create free account
hub / github.com/KentBeck/BPlusTree3 / utilization

Method utilization

rust/src/compact_arena.rs:281–284  ·  view source on GitHub ↗

Get the utilization ratio (allocated / total capacity)

(&self)

Source from the content-addressed store, hash-verified

279
280 /// Get the utilization ratio (allocated / total capacity)
281 pub fn utilization(&self) -> f64 {
282 let stats = self.stats();
283 stats.utilization
284 }
285}
286
287impl<T> Default for CompactArena<T> {

Callers 2

leaf_utilizationMethod · 0.80
branch_utilizationMethod · 0.80

Calls 1

statsMethod · 0.80

Tested by

no test coverage detected