summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel/qcups.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-05-17 16:44:07 +0200
committerMarc Mutz <marc.mutz@kdab.com>2015-06-19 16:29:41 +0000
commiteb5654788b8c1662a4210e6c76c98abd509cf64f (patch)
treedac5ee0cbb8c0c40acacbf824a44e70db3f63d4a /src/printsupport/kernel/qcups.cpp
parente2d83802a036c68ff9d7dc96a074f3b11a023249 (diff)
Micro-optimize QSettingsPrivate::processChild() and its users
...by using QStringRef instead of QString, avoiding one memory allocation in the case of spec != AllKeys and key containing a '/'. Also calls one less non-inline function, since QStringRef::truncated() is inline. Change-Id: Id5eb203006a3857508c5d3f4b729cde1a5170d58 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/printsupport/kernel/qcups.cpp')
0 files changed, 0 insertions, 0 deletions