Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize parameter passing to avoid unnecessary copying #233

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

Vyacguru
Copy link
Contributor

@Vyacguru Vyacguru commented Jun 7, 2024

  • Changed several function parameters to be passed by const reference to avoid unnecessary copying.
  • Addressed clang-tidy warnings related to parameter copying for better performance.
  • Ensured all methods called on these parameters are compatible with const references.
  • Improved overall efficiency and readability of the codebase.
  • Modified functions to use std::move when setting class members to avoid unnecessary copies

@MihailRis MihailRis merged commit 1b3dee4 into MihailRis:main Jun 7, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants