[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: Re: Displaying large message takes loooong
From: Martin Koller <koller () etm-ag ! com>
Date: 2002-10-14 13:13:08
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 14 October 2002 14:35, Marc Mutz wrote:
> On Monday 14 October 2002 14:00, Don Sanders wrote:
> <snip>
>
> > I don't see why replace should be the bottleneck given the fact that
> > this would just be one more copy of the message on top of several
> > others.
>
> QCString operations are always _very_ _very_ slow. Please remember the
> case where KMSender performance went down the drain because we moved
> from QString::replace( "\n", "\r\n" ) to QCString::replace( "\n",
> "\r\n" );
>
> Martin, can you recompile with the
> #if QT_VERSION <something>
> foo.replace
> #else
> foo.replace
> #endif
> commented out in kmmsgpart.cpp?
Wow, you shoot the bird!
If I comment the replace out, it works very fast (< 1 second)!
- --
Best Regards/Schöne Grüße
Martin
- -----------------------------------------------------------------
Ing. Martin Koller, Key Account Manager, mailto:koller@etm.at
http://www.etm.at, http://www.pvss.com
ETM Aktiengesellschaft, A-7000 Eisenstadt Kasernenstr. 29
Phone:+43 2682/741-0, Fax:+43 2682/741-107
- -----------------------------------------------------------------
Some operating systems are called 'user friendly',
Linux however is 'expert friendly'.
Public key at:
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0x8DFB0F86
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD4DBQE9qsLnHmdPoI37D4YRAi42AJdeAM3Gzic+igpUBRtsxMae0WzHAKDcNN4O
v3X1GeqL78+C3yTzaGhlWw==
=bwjY
-----END PGP SIGNATURE-----
_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic