(&self)
| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected