[Bug 277597] Akonadi takes up to 100% CPU and is very slow fetching mail

Oldřich Jedlička oldium.pro at seznam.cz
Wed Aug 17 17:34:47 BST 2011


https://bugs.kde.org/show_bug.cgi?id=277597





--- Comment #5 from Oldřich Jedlička <oldium pro seznam cz>  2011-08-17 16:34:47 ---
Created an attachment (id=62906)
 --> (http://bugs.kde.org/attachment.cgi?id=62906)
Patch to fix slowness of pop3 mail reading

The code uses QMap::key(value, default_value) to search for the right message
UID. According to Qt documentation, the method is: 

  This function can be slow (linear time), because QMap's internal data
structure is optimized for fast lookup by key, not by value.

For lot of emails, the function is really really slow, because it tries to
match every value until it finds one.

I will send the patch to reviewboard as soon as I get an account created.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Kdepim-bugs mailing list