MCPcopy Create free account
hub / github.com/RustPython/RustPython / size

Method size

crates/vm/src/dict_inner.rs:235–242  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

233 }
234
235 const fn size(&self) -> DictSize {
236 DictSize {
237 indices_size: self.indices.len(),
238 entries_size: self.entries.len(),
239 used: self.used,
240 filled: self.filled,
241 }
242 }
243
244 #[inline]
245 const fn should_resize(&self) -> Option<usize> {

Callers 1

has_changed_sizeMethod · 0.45

Calls 2

lenMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected