v1.6.2
BREAKING
This release is breaking if nil
checks were done on the nextroute.SolutionStop
interface (as it is now becoming a struct for performance reasons). It is recommended to use .IsZero()
check instead from now on.
I.e., the following code:
var stop nextroute.SolutionStop = nil
// ...
if stop == nil {
// ...
}
becomes:
var stop nextroute.SolutionStop
// ...
if stop.IsZero() {
// ...
}
What's Changed
- Ds/perf/improve golden bench by @dirkschumacher in #45
- Improve benchmark golden tests by sharing the model by @dirkschumacher in #46
- Make location a struct by @dirkschumacher in #43
- Reduce allocations when applying operators by @dirkschumacher in #48
- Decrease allocations in copy solution by @dirkschumacher in #50
- Turn StopPosition into a struct by @dirkschumacher in #49
- Turn SolutionStop into a struct by @dirkschumacher in #52
- SolutionVehicle iface to struct by @dirkschumacher in #53
- Fix memory consumption when multiple models are used by @dirkschumacher in #47
- Reduce allocations on length check by @dirkschumacher in #56
- Minor performance improvements by @dirkschumacher in #57
- Maximum constraint/objective efficiency improvement by @davidrijsman in #58
Full Changelog: v1.6.1...v1.6.2