Files
Mujoco_WASM/doc
Saran Tunyasuvunakool 215433f5f7 Implement mj_stackAlloc and mj_arenaAlloc alignment using bitwise-and.
This implementation explicitly avoids calling division instructions (which are generally expensive) even when link-time optimization is not active or if the alloc functions aren't inlined for some reason.

Also make mj_stackAlloc cheaper for external callers who may be linking against MuJoCo dynamically (and therefore cannot benefit from inlining).

PiperOrigin-RevId: 561299565
Change-Id: Iea4be5bf6d351ddf0c9d1fd8bd89a0c207b39309
2023-08-30 04:29:18 -07:00
..
2023-05-07 02:01:44 -07:00
2023-05-27 05:08:15 -07:00
2023-07-24 05:48:33 -07:00
2023-07-21 12:12:53 -07:00
2023-07-20 03:27:50 -07:00