MCPcopy Create free account
hub / github.com/cel-expr/cel-go / mathListCostModel

Function mathListCostModel

ext/math.go:977–983  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

975}
976
977func mathListCostModel(id string) cost.OverloadModel {
978 return cost.Overload(id,
979 cost.EvalCost(cost.Sum(cost.Const(cost.CallCost), cost.Length(cost.Arg(0)))),
980 cost.ResultSize(cost.Const(1)),
981 cost.BeforeVersion(1, cost.ManualCost(estimateMathListCost, trackMathListCost)),
982 )
983}

Callers 1

CompileOptionsMethod · 0.85

Calls 9

OverloadFunction · 0.92
EvalCostFunction · 0.92
SumFunction · 0.92
ConstFunction · 0.92
LengthFunction · 0.92
ArgFunction · 0.92
ResultSizeFunction · 0.92
BeforeVersionFunction · 0.92
ManualCostFunction · 0.92

Tested by

no test coverage detected