Skip to main content

mem_cycles_for

Function mem_cycles_for 

Source
pub fn mem_cycles_for(accessible_pages: u32) -> u8
Expand description

Effective per-load/store base latency after #2 footprint scaling: MEM_CYCLES_BASE × compute_scale(accessible_pages) (saturating). This is the mem_cycles value threaded into predecode / the gas simulator in place of the flat MEM_CYCLES_BASE.