18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-01 23:17:56 +01:00
Files
maszyna/physics/components
jerrrrycho 2883887f5c perf(physics): the trains of the hose exchange kept by the vehicle table, the inputs of a step read into kept storage
The cache of the trains was a function-local static of vehicle_table::update_brake_pipes(), shared by every
vehicle_table and kept from one scenery to the next; it's now a member next to m_brakepipes, the list it is
for. The inputs of each step were read into a new vector, twice per step (the brake and the main reservoir
pipe); they're now read into scratch storage of the cache, swapped with the kept inputs when they differ.
2026-12-01 16:58:29 +01:00
..