diff options
author | Graham Linden <graham@lindenlab.com> | 2019-08-05 12:04:29 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-08-05 12:04:29 -0700 |
commit | 76128c4357bc36acd54575153516c6d337fe4263 (patch) | |
tree | 7910d8415bf394fd15f5dca35dd3779b39acc15a /indra/llcharacter/lljoint.h | |
parent | 9bb6da1e76efa951da7e740f80b1e4e72e67b878 (diff) |
SL-10566 Use vector for some high-traffic, low-item count containers instead of list.
Provide method of storing joint indices sep from weight data for faster runtime processing.
Diffstat (limited to 'indra/llcharacter/lljoint.h')
-rw-r--r-- | indra/llcharacter/lljoint.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcharacter/lljoint.h b/indra/llcharacter/lljoint.h index 8112d246f2..aa997a4cf7 100644 --- a/indra/llcharacter/lljoint.h +++ b/indra/llcharacter/lljoint.h @@ -139,8 +139,8 @@ public: S32 mJointNum; // child joints - typedef std::list<LLJoint*> child_list_t; - child_list_t mChildren; + typedef std::vector<LLJoint*> joints_t; + joints_t mChildren; // debug statics static S32 sNumTouches; |