Memory actively occupied (occupied_slots * slot_size).
(&self)
| 98 | |
| 99 | /// Memory actively occupied (occupied_slots * slot_size). |
| 100 | fn occupied_bytes(&self) -> usize { |
| 101 | self.occupied * self.slot_size |
| 102 | } |
| 103 | |
| 104 | /// Fragmentation ratio: capacity / occupied. 1.0 = no fragmentation. |
| 105 | /// Returns 0.0 if nothing is occupied. |
no outgoing calls
no test coverage detected