[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-03 9:14:04
[Download RAW message or body]
On Thursday 03 January 2002 06:09, Ronen Tzur wrote:
>
> It's not about the amount of work. I think it's not right to divide this
> into two different steps, the first actually moving messages, and the
> second updating the dictionary. Even more so when the overall design in
> KMFolder-related classes is to handle one message at a time.
Why not?
> My feeling is that if by optimizating the dictionary, the current design
> is still acceptible without having to apply further patches on it, then
> so be it. And if and when this part of KMail gets redesigned, that would
> be the time to deal with issues like this.
I simply don't believe that. Even if KMail then would manage to remove 20
messages per socond from a folder with 15000 messages that are still only 5
messages per second, if the folder contains 60000 messages, as long the code
is O(n^2).
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