MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / memory_efficiency

Method memory_efficiency

graphlite/src/cache/cache_manager.rs:72–78  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

70 }
71
72 pub fn memory_efficiency(&self) -> f64 {
73 if self.total_entries == 0 {
74 0.0
75 } else {
76 self.total_memory_bytes as f64 / self.total_entries as f64
77 }
78 }
79}
80
81/// Cache events for monitoring and debugging

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected