()
| 203 | } |
| 204 | |
| 205 | func (c *costConfig) copy() *costConfig { |
| 206 | return &costConfig{ |
| 207 | strategy: c.strategy, |
| 208 | models: slices.Clone(c.models), |
| 209 | version: c.version, |
| 210 | } |
| 211 | } |
| 212 | |
| 213 | // build derives the estimation and tracking options. A cost.ModelOption serves both, so the two |
| 214 | // lists hold the same options. |