cairo_lang_sierra_ap_change

Function calc_ap_changes

Source
pub fn calc_ap_changes<TokenUsages: Fn(StatementIdx, CostTokenType) -> usize>(
    program: &Program,
    token_usages: TokenUsages,
) -> Result<ApChangeInfo, ApChangeError>
Expand description

Calculates gas information for a given program.