Skip to content
Verified Commit c16f158f authored by Fushan Wen's avatar Fushan Wen
Browse files

Address some QStringLiteral data duplication

Each use produces a new UTF-16 array that contains the string data.
This duplicates the data as many times as you “call” QStringLiteral
with the same argument. It does so even within a single translation
unit. Common C string literals, on the other hand, are allowed to
share a single memory location.

Ref: https://www.kdab.com/qstringview-diaries-advances-qstringliteral/
parent 26724f30
Pipeline #405548 passed with stage
in 13 minutes and 14 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment