You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
153423: opt: decouple LOS costing from optimizer r=mgartner a=mgartner
In #93377 the coster and the optimizer were coupled together when cost
scaling for the remote branch of a locality optimized search was
hard-coded into the optimizer. This coupling blurs the responsibilities
of the optimizer and coster and defies their design. `Coster` mentions
that it "is an interface so that different costing algorithms can be
used by the optimizer".
To fix this, a `RemoteBranch` field has been added to physical
properties and the coster uses this field to perform cost scaling. There
should be no difference in end-user behavior due to this change.
Release note: None
Co-authored-by: Marcus Gartner <[email protected]>
0 commit comments