Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_dict
Method · 0.80
next
Method · 0.80
Calls
2
size
Method · 0.45
read
Method · 0.45
Tested by
no test coverage detected