diff options
author | Anton Kudryavtsev <a.kudryavtsev@netris.ru> | 2016-10-17 18:54:26 +0300 |
---|---|---|
committer | Anton Kudryavtsev <a.kudryavtsev@netris.ru> | 2016-10-18 17:52:04 +0000 |
commit | 6a7b683817e7427cf952130b7726833fd5be74ce (patch) | |
tree | 10a707cb680672e6d73af3e808a67d0d454871bb /header.LGPL3-COMM | |
parent | a769b347542060e7d7e010c343d4a7d5c1549de0 (diff) |
Plugins: optimize string usage
Prefer QStringRef methods to avoid allocations.
Use startsWith/endsWith rather than comparing substrings;
and avoid substrings where references suffice.
Use new QStringList::join(QL1S).
Change-Id: I46c44aca96578633370006d613eb0ac13f7cfc03
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'header.LGPL3-COMM')
0 files changed, 0 insertions, 0 deletions