Module soroban_env_host::budget
source · Structs
Constants
- The number of bits to scale the linear term by. The linear coefficient has been scaled by this factor during parameter fitting to retain more significant digits. Thus to get the cost from the raw input, we need to scale the result back by the same factor.
Traits
- We provide a “cost model” object that evaluates a linear expression: