branchrust_reboot/main/vehicle_optimscancel
3 Commits over 0 Days - ∞cph!
Merge: from main
Tests: none (trivial merge)
Optim: Avoid trying to sync non-mounted mountables
- Implemented via a mounted-queue that gets populated when a vehicle/animal is mounted
This saves 0.5ms on a 6k world map with no players riding vehicles.
Tests: on Craggy rode a kayak and validated player transform sync was happening via profiler. Loaded 6k world and validated that the original 1.3k item queue was gone.
Update: Reducing access to BaseMountable internal state
- Mods can workaround by using existing API
Future optim depends on internal state being tightly controlled, so this makes it easier to prove that it'll be safe.
Tests: rode the zipline on craggy