jerrrrycho
18d1c58994
perf(world): FastGetTFromS reads the curve's t and slope of a point side by side
...
TSegment kept the curve parameter t at equal steps of s (fTsBuffer) and the Hermite slopes at the same
points (fTsSlope) in two vectors, and FastGetTFromS(), called for every axle of every vehicle on every
step, read [i] and [i + 1] of both: four loads from two separate allocations. The two now go together in
one vector of {t, slope} (fTs), so the interpolation touches one or two cache lines. The values and the
arithmetic, in the same order, are unchanged.
Tomaszewo (raj40821) 600 s in --test, seed 12345: FastGetTFromS was 1.2% of the main thread; sim 259.7 s
median of 3 (255.0-271.3) against 268.3 s (262.5-279.2) before, which is about the run-to-run spread.
The 14 physics logs and the event log are byte-identical, unit tests 1205/1205 with exact golden traces.
2026-11-30 04:20:18 +01:00
..
2026-11-07 22:11:08 +01:00
2026-10-26 01:12:06 +01:00
2026-11-27 09:15:11 +01:00
2026-10-23 23:15:00 +02:00
2026-10-23 23:15:00 +02:00
2026-10-23 23:15:00 +02:00
2026-10-26 01:12:06 +01:00
2026-10-26 01:12:06 +01:00
2026-10-26 19:51:15 +01:00
2026-11-27 09:15:11 +01:00
2026-10-27 01:04:22 +01:00
2026-11-07 22:11:08 +01:00
2026-10-23 23:15:00 +02:00
2026-11-27 09:15:11 +01:00
2026-10-26 01:12:06 +01:00
2026-10-26 01:12:06 +01:00
2026-10-26 01:12:06 +01:00
2026-10-26 01:12:06 +01:00
2026-10-26 01:12:06 +01:00
2026-03-14 19:01:57 +00:00
2026-11-29 16:55:25 +01:00
2026-11-29 11:39:15 +01:00
2026-11-29 13:06:16 +01:00
2026-11-27 23:51:42 +01:00
2026-11-27 23:51:42 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-10 18:44:33 +01:00
2026-10-11 13:22:33 +02:00
2026-11-20 16:35:59 +01:00
2026-11-18 23:50:07 +01:00
2026-11-27 09:15:11 +01:00
2026-11-11 21:34:39 +01:00
2026-11-16 21:44:48 +01:00
2026-11-16 21:44:48 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-29 12:43:38 +01:00
2026-11-26 22:28:58 +01:00
2026-10-04 01:55:35 +02:00
2026-11-29 12:43:38 +01:00
2026-11-27 09:13:29 +01:00
2026-11-26 22:28:58 +01:00
2026-11-30 04:20:18 +01:00
2026-11-30 04:20:18 +01:00
2026-10-24 02:19:03 +02:00
2026-10-24 00:23:50 +02:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-16 21:44:48 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-27 09:13:29 +01:00
2026-11-25 05:13:18 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-16 21:44:48 +01:00
2026-11-16 21:44:48 +01:00
2026-11-16 21:44:48 +01:00
2026-10-11 13:22:33 +02:00
2026-10-11 13:22:33 +02:00
2026-11-29 12:33:13 +01:00
2026-10-11 13:22:33 +02:00
2026-11-18 23:50:07 +01:00
2026-11-18 23:50:07 +01:00
2026-11-27 09:13:29 +01:00
2026-11-27 19:46:26 +01:00
2026-11-17 00:17:22 +01:00
2026-11-17 00:17:22 +01:00
2026-11-18 23:50:07 +01:00
2026-11-18 23:50:07 +01:00
2026-11-20 16:35:59 +01:00
2026-11-20 16:35:59 +01:00
2026-11-28 23:56:46 +01:00
2026-11-27 09:13:29 +01:00
2026-10-22 00:29:00 +02:00
2026-11-27 09:15:11 +01:00
2026-11-29 01:48:33 +01:00
2026-11-15 12:28:41 +01:00
2026-11-16 07:44:32 +01:00
2026-11-27 17:11:46 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-27 09:15:11 +01:00
2026-11-27 09:13:29 +01:00
2026-11-07 16:44:51 +01:00
2026-11-22 09:55:09 +01:00
2026-11-27 09:15:11 +01:00
2026-11-27 09:15:11 +01:00
2026-10-11 13:22:33 +02:00
2026-10-11 13:22:33 +02:00
2026-11-27 09:13:29 +01:00
2026-11-29 12:26:21 +01:00
2026-11-27 09:13:29 +01:00