[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: [PATCH] increase moveMsg performance
From:       Michael =?iso-8859-1?q?H=E4ckel?= <haeckel () kde ! org>
Date:       2002-08-28 20:24:53
[Download RAW message or body]

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

On Monday 26 August 2002 08:26, Carsten Burghardt wrote:
> On Sunday 25 August 2002 19:58, Carsten Burghardt wrote:
> > Hi,
> >
> > at the moment the destination folder of an imap moveMsg is downloaded
> > (getFolder) after each operation. This is too time-consuming.

I can't confirm this. Looks actually quite fast here. getFolder shouldn't be a
very expensive operation if the folder has already been seen in the current
KMail session otherwise there is something strange.

Maybe with really huge folders it can take the server some time to respond. Is 
that the case for you?

> > The attached patch does 2 things:
> > - just increment the cached total-count for the total-column

You forgot to update the number of unread messages, when unread messages are
moved. This number is probably the reason why I added that getFolder call.

Regards,
Michael Häckel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9bTGVe9KEPyN2R8URArIdAJ9c5PtoBp/tOSORdlOsUPtXo11tyQCfff6f
hFdJXN0qQV5XPBR9EWyeiA0=
=KQef
-----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