some test apps

Benjamin Meyer ben at meyerhome.net
Wed Oct 27 05:36:56 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Someone told me of your conversation and just wanted to add a few things:

I have added a few test apps in 
kdenonbeta/kdetestscripts/compilertests/

As for QStringList this was the fastest:

 const QStringList::const_iterator cend = list.constEnd();
        for ( QStringList::const_iterator it = list.begin(); it != cend; 
++it )
 {
        }

But feel free to add more test apps or play around with them to confirm/deny 
what they are saying and what you want to say.  I figured it would be 
important to have real apps somewhere to back up a change.

Also I added string != QString::null to the report.  (found lots more cases, 
also another point of speed problems if inside a loop as it creates and 
destroys a QString.

- -Benjamin Meyer

- -- 
aka icefox
Public Key: http://www.csh.rit.edu/~benjamin/public_key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBfxfY1rZ3LTw38vIRAh49AJwOaMQe4G34RRH9AA7kA1QMOvy5WwCcC68F
r/6n0cNjDisuaQ4ZaMPI0Bc=
=MlH8
-----END PGP SIGNATURE-----


More information about the Kde-optimize mailing list