pub fn compute_costs<CostType: CostTypeTrait, SpecificCostContext: SpecificCostContextTrait<CostType>>(
    program: &Program,
    get_cost_fn: &dyn Fn(&ConcreteLibfuncId) -> Vec<BranchCost>,
    specific_cost_context: &SpecificCostContext
) -> GasInfo
Expand description

Computes the GasInfo for a given program.

The specific_cost_context argument controls whether the computation is pre-cost or post-cost.