Alessio Quaglino
9fb548cadb
Optimize flex bending edge computation by caching face states.
...
In `mj_flexPassive`, precompute and cache face positions, global indices, and corotational quaternions for all faces. This avoids redundant calls to `mju_flexGatherFaceState` for each bending edge, as each face can be part of multiple bending edges. This gives a 3-4x speedup in mj_passive.
PiperOrigin-RevId: 915912918
Change-Id: I3e1c00cf2d989f85398a0750a0faf359249cfe01
2026-05-15 03:32:01 -07:00
..
2026-03-20 05:06:15 -07:00
2026-05-06 05:25:53 -07:00
2022-06-16 07:15:14 -07:00
2025-01-16 06:28:54 -08:00
2022-05-23 01:08:49 -07:00
2026-03-13 10:21:53 -07:00
2026-04-20 12:00:10 -07:00
2026-03-23 04:51:53 -07:00
2026-05-12 09:43:43 -07:00
2026-04-21 04:03:22 -07:00
2026-04-15 09:19:57 -07:00
2026-04-15 09:19:57 -07:00
2026-03-13 10:21:53 -07:00
2026-03-13 10:21:53 -07:00
2026-03-13 10:21:53 -07:00
2026-03-13 10:21:53 -07:00
2026-05-11 02:45:27 -07:00
2026-04-13 12:48:03 -07:00
2026-04-22 08:01:34 -07:00
2026-04-10 04:57:55 -07:00
2026-04-20 04:41:17 -07:00
2026-04-20 04:41:17 -07:00
2024-02-22 08:03:51 -08:00
2026-03-16 09:03:52 -07:00
2026-02-06 08:47:36 -08:00
2023-04-28 09:04:41 -07:00
2026-05-15 02:58:06 -07:00
2026-05-15 02:58:06 -07:00
2026-05-15 03:16:09 -07:00
2026-04-13 10:58:49 -07:00
2024-02-09 06:50:06 -08:00
2025-11-06 12:10:55 -08:00
2025-09-25 19:22:27 -07:00
2026-04-16 03:25:18 -07:00
2026-03-20 11:41:15 -07:00
2022-05-23 01:08:49 -07:00
2026-05-13 08:11:36 -07:00
2026-05-02 00:13:39 -07:00
2026-05-04 14:25:53 -07:00
2023-09-05 11:41:43 -07:00
2025-09-16 09:36:44 -07:00
2026-03-17 08:26:39 -07:00
2026-03-16 08:18:11 -07:00
2025-10-01 07:58:17 -07:00
2024-06-27 10:50:21 -07:00
2026-05-15 03:32:01 -07:00
2026-04-17 04:13:19 -07:00
2026-03-25 05:35:39 -07:00
2026-03-25 05:35:39 -07:00
2026-02-25 04:32:11 -08:00
2025-09-29 02:47:17 -07:00
2026-01-13 10:22:21 -08:00
2026-01-13 10:22:21 -08:00
2026-05-01 08:27:04 -07:00
2026-02-06 08:47:36 -08:00
2026-05-11 10:11:51 -07:00
2022-05-23 01:08:49 -07:00
2026-01-23 16:30:05 -08:00
2025-11-11 06:45:56 -08:00
2026-05-13 02:34:30 -07:00
2026-04-28 05:13:54 -07:00
2025-09-18 12:28:09 -07:00
2026-05-11 02:58:56 -07:00
2026-03-11 04:55:44 -07:00
2026-05-06 05:25:53 -07:00
2026-05-06 05:25:53 -07:00
2025-11-26 03:26:56 -08:00
2025-10-01 07:58:17 -07:00
2023-08-22 04:04:02 -07:00
2026-03-09 09:54:10 -07:00
2023-10-12 10:49:35 +01:00
2026-05-05 10:33:18 -07:00
2026-05-05 10:33:18 -07:00
2026-05-02 13:27:04 -07:00
2026-05-02 13:27:04 -07:00
2025-09-16 09:36:44 -07:00
2026-05-04 14:25:53 -07:00
2026-05-04 14:25:53 -07:00
2025-12-12 04:49:29 -08:00
2025-12-12 10:47:31 -08:00
2025-12-18 04:36:26 -08:00
2025-09-16 09:36:44 -07:00
2026-04-22 08:01:34 -07:00
2023-10-12 10:49:35 +01:00
2026-04-22 08:01:34 -07:00
2025-11-14 00:03:18 -08:00