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

Method has_changed_size

crates/vm/src/dict_inner.rs:620–623  ·  view source on GitHub ↗
(&self, old: &DictSize)

Source from the content-addressed store, hash-verified

618 }
619
620 pub fn has_changed_size(&self, old: &DictSize) -> bool {
621 let current = self.read().size();
622 current != *old
623 }
624
625 pub fn keys(&self) -> Vec<PyObjectRef> {
626 self.read()

Callers 2

merge_dictMethod · 0.80
nextMethod · 0.80

Calls 2

sizeMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected