Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Add: Road vehicle path cache. #7261
Modeled on the ship path cache, so not many surprises. The maximum length is in path-finder segments (effectively number of junctions) rather than tiles due to how YAPF works for RVs.
On my system with the Wentbourne save, road vehicle time dropped from 62.5ms/t to 19.75ms/t, which is pretty significant. Performance gains for a more normal number of road vehicles would of course be less.