MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / get_fast

Method get_fast

compiler/src/modules/vm/cache.rs:128–130  ·  view source on GitHub ↗
(&self, ip: usize)

Source from the content-addressed store, hash-verified

126
127 #[inline]
128 pub fn get_fast(&self, ip: usize) -> Option<FastOp> {
129 self.slots.get(ip).and_then(|s| s.fast)
130 }
131
132 pub fn invalidate(&mut self, ip: usize) {
133 // Preserve `inst` so the instance-dunder cache survives a scalar specialisation miss at the same site.

Callers 1

exec_arith_or_compareMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected