Check for single char QStrings better written as a QChar
Samir Faci
kdelove at esamir.com
Sun Mar 30 00:30:35 UTC 2008
Adding single characters to a QString is faster if the characters are
QChars and not QStrings. For example: QString path = oldpath + "/" +
base is better written as QString path = oldpath + '/' + base. Same
holds for arguments to QString::startsWith() and QString::endsWith()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 22618 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20080329/13c55178/attachment.obj>
More information about the KDevelop-devel
mailing list