Changeset - r28405:f5d30cdebeff
master
0
3
1
Codechange: Build station and depot vehicle lists from shared order lists. (#11676)
The brings some performance advantages:
* No need to iterate all vehicles and check for primary vehicle as only vehicles that can have orders are listed.
* Shared orders only need to be tested once instead of for each vehicle sharing them.
* Vehicle tests only need to be performed on the first shared vehicle instead of all.
The brings some performance advantages:
* No need to iterate all vehicles and check for primary vehicle as only vehicles that can have orders are listed.
* Shared orders only need to be tested once instead of for each vehicle sharing them.
* Vehicle tests only need to be performed on the first shared vehicle instead of all.
4 files changed with 71 insertions and 41 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)