Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

simplify c++ code base with copy elision #386

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft

simplify c++ code base with copy elision #386

wants to merge 9 commits into from

Conversation

anilbey
Copy link
Contributor

@anilbey anilbey commented Apr 30, 2024

Description

Avoids creating and returning unnecessary vectors.

Checklist:

  • Unit tests are added to cover the changes (skip if not applicable).
  • The changes are mentioned in the documentation (skip if not applicable).
  • CHANGELOG file is updated (skip if not applicable).

@anilbey
Copy link
Contributor Author

anilbey commented Jun 21, 2024

Note: this does not change the behaviour it only avoids some redundancies which are nowadays handled by the compilers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant