Skip to content

Conversation

@381sm016
Copy link

@381sm016 381sm016 commented Nov 24, 2025

Summary

Pass QStringList and QString parameters by const reference instead of by value in the Common::getInsertionIndex function to avoid unnecessary copies and improve performance.

Changes

  • Updated function signature in libthedesk/common.h to use const references
  • Updated function implementation in libthedesk/common.cpp to match signature

Pass QStringList and QString parameters by const reference instead of by value to avoid unnecessary copies and improve performance.
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.

1 participant