1cc06b2e94
For QLatin1String, startsWith/endsWith is overloaded, so comparing to a latin-1 (C) string literal is efficient, since strlen() is comparatively fast. OTOH, QStringLiteral, when not using RVO, litters the code with QString dtor calls, which are not inline. Worse, absent lambdas, it even allocates memory. So, just use QLatin1String instead. Change-Id: I7eaf464c67b55116f970fe7f58a85f19ce4d254e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> |
||
---|---|---|
.. | ||
accessible | ||
animation | ||
doc | ||
image | ||
itemmodels | ||
kernel | ||
math3d | ||
opengl | ||
painting | ||
text | ||
util | ||
gui.pro | ||
Qt5GuiConfigExtras.cmake.in | ||
QtGui.dynlist |