use QStringLiteral for QString creation of constants and QLatin1Literal for comparisson
Strings can be expensive to create, all the issues with allocation,
copy of the char members, conversion to UTF-16. QStringLiteral creates
one in compile time.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Showing
Please register or sign in to comment