comments on KDE performance tips
David Faure
kde-optimize@mail.kde.org
Sat, 18 Jan 2003 02:47:38 +0100
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Saturday 18 January 2003 02:16, Roger Larsson wrote:
> const QString hallo =3D "hallo"; // constructor with copy
> if (hallo =3D=3D hallo) ... // only compares the string storage location
Nope. This calls QString::operator=3D=3D, which compares the contents.=20
Please don't confuse QString and e.g. char *.
=2D --=20
David Faure -- faure@kde.org, dfaure@klaralvdalens-datakonsult.se
Klar=E4lvdalens Datakonsult AB, Platform-independent software solutions
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2.1 is available - http://download.kde.org/stable/koffice-1.2.1/
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+KLI672KcVAmwbhARAsPsAKCCleFQpr5UPIjFFOSQzBRADju19wCZAUPg
z/Pfm1mNetD0ykdERWiGXN4=3D
=3Dq1Hl
=2D----END PGP SIGNATURE-----