IMAP4Protocol::listDir()
André Wöbbeking
Woebbeking at onlinehome.de
Wed Feb 9 00:18:30 CET 2005
Hi,
for IMAP folders with many mails more than 30% is spent in KURL::url()
as it's called for every mail in the folder although the url doesn't
change. I reduced the number of url() calls by calling it outside the
loops (i.e. from 18000 to 100 calls).
Another small change is in doListEntry() where QString::number() was
called twice for the same number.
Can I commit this patch?
Cheers,
André
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imap4.diff
Type: text/x-diff
Size: 3227 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-optimize/attachments/20050209/c02fdb01/imap4.bin
More information about the Kde-optimize
mailing list