diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2022-12-17 11:43:14 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-12-19 20:37:05 +0000 |
commit | 348911a4e7e3ded28fd1f73a8270e48198e131f9 (patch) | |
tree | c07a12bfcb9739e9b877da458a9a7008a2386261 /src/corelib/Qt6CoreMacros.cmake | |
parent | ff83fc75901527c0c14c481dbe9929129942c5b9 (diff) |
RCCFileInfo: use QString prepend optimization
Instead of using QStringBuilder (which always allocates a new QString to
hold the result of the concatenation), reuse the existing QString, and
use prepend which will typically have allocated extra space, reducing
the chances it will reallocate.
Change-Id: Ic4ef775246db58e56152a6ede1a75f7621950dd9
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/corelib/Qt6CoreMacros.cmake')
0 files changed, 0 insertions, 0 deletions