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

Method FunctionEstimator

common/cost/model.go:1204–1206  ·  view source on GitHub ↗

FunctionEstimator returns a FunctionEstimator implementing the cost model.

()

Source from the content-addressed store, hash-verified

1202
1203// FunctionEstimator returns a FunctionEstimator implementing the cost model.
1204func (m OverloadModel) FunctionEstimator() FunctionEstimator {
1205 return m.buildEstimator(defaultSizing, defaultModelVersion)
1206}
1207
1208// FunctionEstimatorWithOptions returns a FunctionEstimator implementing the cost model, configured
1209// by the supplied options. Unset options take their defaults: the default SizingStrategy and the

Callers 2

TestVersion1RevisionsFunction · 0.80

Calls 1

buildEstimatorMethod · 0.95

Tested by 2

TestVersion1RevisionsFunction · 0.64