Skip to main content

opcode_cost

Function opcode_cost 

Source
pub fn opcode_cost(op: &Opcode) -> u32
Expand description

Rough, ordinal cost estimate per opcode. Not a wall-clock number — only useful to compare relative cost (e.g. for AndOp operand reordering).