|
Email lists >
KDevelop Developers >
Check for single char QStrings better written as a QChar >
Check for single char QStrings better written as a QChar
Check for single char QStrings better written as a QChar
This post if a part of this thread
|
2008-03-29 19:30:35 |
|
|
Check for single char QStrings better written as a QChar
|
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()
_______________________________________________
KDevelop-devel mailing list
KDevelop-devel kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel
|
|
|
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|