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

List:       kmail-devel
Subject:    Re: KMMsgDict slowness
From:       Carsten Burghardt <cb () magic-shop ! de>
Date:       2002-01-02 12:40:08
[Download RAW message or body]

On Tuesday 01 January 2002 17:31, Michael Häckel wrote:
> On Wednesday 02 January 2002 00:16, Ronen Tzur wrote:
> > Actually it seems messages are added to the QPtrList<KMMessage> only
> > for IMAP folders, so for local folders you never get to that new
> > removeMsg() function.
> >
> > Or am I missing something?
> >
> > But Michael already pointed out that a QPtrList of KMMessage (ie the
> > complete loaded message) is not too good, so in any case the concept
> > probably has to change a little.
>
> For IMAP it doesn't really matter, because there KMMessage usually contains
> only the headers, but for local folders it does.
>

Well, this new method is the result of imap-improvements, as you know, and 
just calls the old methods for compatibility. There is definitely room for 
improvements. You can add a "QValueList<int> ids" and then optimize this 
method for serial-number handling but it would be good not to remove the 
QPtrList.

Regards,

Carsten

_______________________________________________
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