[Development] RFD: plugins vs QStringLiterals

Thiago Macieira thiago.macieira at intel.com
Fri Nov 6 19:12:58 CET 2015


On Friday 06 November 2015 09:47:51 Koehne Kai wrote:
> The easiest way to achieve this is to ban QStringLiteral and
> QByteArrayLiteral inside Qt's own code. Somehow I doubt that this would
> have noticeable impact anyway, at least if the replacement tries to cache
> strings once constructed, instead of mindlessly calling
> QString::fromLatin1() a million times in a row.

Doesn't help with the other types of static data we might keep pointers to 
(meta objects, meta types, vtables, etc.)

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list