mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-01 19:57:06 +01:00
1996301a7b
A vehicle blending ED and EP brakes (ConsistBrakeBlending) opens MEDLOGS/<name>_<n>.csv once it brakes while moving. Without the MEDLOGS folder, which the game doesn't come with, the open failed and was tried again on every step of the braking: a path built and a CreateFile call each time, with <n> counted up. The failure is now remembered and the log isn't tried again for that vehicle. With the folder there the first attempt opens it, and what is written is the same as before. Tomaszewo (raj40821) 600 s in --test, seed 12345: OpenLog was 0.18% of the main thread there (few ED consists brake in it), the run time is within noise (sim 268.3 s median of 3 before, 269.8 s after); the 14 physics logs and the event log are byte-identical, unit tests 1205/1205 with exact golden traces.