[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: Re: KMMsgDict slowness
From: Michael =?iso-8859-1?q?H=E4ckel?= <haeckel () kde ! org>
Date: 2002-01-02 15:17:01
[Download RAW message or body]
On Wednesday 02 January 2002 21:53, Ronen Tzur wrote:
>
> If that's ok, I'd like to first try and reduce the number of lookups,
> before trying to degrade the hashtable into a mere array. :-)
>
> In this new patch that I'm attaching, the r-dict is no longer on a hash
> table, but is accessible using "KMMsgDictREntry *folder->rDict()."
>
> I've tested this a little and it seems it works: messages still keep their
> correct serial number even when moving folders, and even when KMail
> is shut down and restarted after the message has moved.
>
> For me it shaved off a few seconds when moving those 9000 messages.
> That is, with this patch it takes exactly 120 seconds.
The speed is now about 8 messages per second which is twice as fast as before
with 9973 as prime number.
However it now crashes always, when I try to store a message in the drafts
folder.
Regards,
Michael Häckel
_______________________________________________
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