LL perf (Avatar/animation): Hand Pose anim-data churn #327

Closed
opened 2026-10-04 14:09:20 +00:00 by sky_line · 0 comments
Owner

From the LL-origin inefficiency audit (finding A1). File/line references are from commit 0229f8872c; re-locate them before working.

Hand Pose anim-data churn

  • Where: llkeyframemotion.cpp:787-799, llhandmotion.cpp:200-201, llcharacter.cpp:252.
  • Cost: "Hand Pose Priority" exceeds SSO, so each frame costs a map node plus a heap string plus two frees, per avatar.
  • Same treatment needed: the other string keys ("LookAtPoint", "PointAtPoint", "Walk Speed", "Speed") are std::map string compares per frame.
  • Fix: member or enum slots on LLCharacter.
  • Confirmed. S.

Verify the cost (profile or timer) before and after changing it.

From the LL-origin inefficiency audit (finding A1). File/line references are from commit 0229f8872c; re-locate them before working. **Hand Pose anim-data churn** - **Where:** `llkeyframemotion.cpp:787-799`, `llhandmotion.cpp:200-201`, `llcharacter.cpp:252`. - **Cost:** "Hand Pose Priority" exceeds SSO, so each frame costs a map node plus a heap string plus two frees, per avatar. - **Same treatment needed:** the other string keys ("LookAtPoint", "PointAtPoint", "Walk Speed", "Speed") are std::map string compares per frame. - **Fix:** member or enum slots on `LLCharacter`. - Confirmed. S. Verify the cost (profile or timer) before and after changing it.
sky_line added this to the Slipstream project 2026-10-06 15:04:14 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream#327
No description provided.