Skip to content

[StateContainer] Avoid many calls to getValue in MechanicalObject#6186

Merged
fredroy merged 3 commits into
sofa-framework:masterfrom
alxbilger:mechanicalobjectgetvalue
Jul 15, 2026
Merged

[StateContainer] Avoid many calls to getValue in MechanicalObject#6186
fredroy merged 3 commits into
sofa-framework:masterfrom
alxbilger:mechanicalobjectgetvalue

Conversation

@alxbilger

Copy link
Copy Markdown
Contributor

It mainly avoids to use getPX(i), getPY(i) and getPZ(i) when it's not necessary.


By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

@alxbilger alxbilger added pr: fast merge Minor change that can be merged without waiting for the 7 review days pr: status to review To notify reviewers to review this pull-request pr: clean Cleaning the code labels Jul 15, 2026
@fredroy fredroy force-pushed the mechanicalobjectgetvalue branch from 6dbcbfb to 166ff22 Compare July 15, 2026 22:06
@fredroy fredroy merged commit b64ae6a into sofa-framework:master Jul 15, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: clean Cleaning the code pr: fast merge Minor change that can be merged without waiting for the 7 review days pr: status to review To notify reviewers to review this pull-request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants