MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / in_use_count

Method in_use_count

native/shared/src/renderer/transient.rs:245–247  ·  view source on GitHub ↗

Diagnostic — how many allocated slots are currently in use.

(&self)

Source from the content-addressed store, hash-verified

243
244 /// Diagnostic — how many allocated slots are currently in use.
245 pub fn in_use_count(&self) -> usize {
246 self.slots.iter().filter(|s| s.in_use).count()
247 }
248}
249
250impl Default for TransientPool {

Callers

nothing calls this directly

Calls 2

iterMethod · 0.80
countMethod · 0.45

Tested by

no test coverage detected